diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-10-25 18:25:17 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-11-01 17:26:05 +0000 |
commit | 7ae80a928564eba96c4fef0b91b1c50e1647fb8d (patch) | |
tree | 18a6a38e9d61f09f46cc08ba231802eb4519b846 /arm_compute/core/CL/CLCoreRuntimeContext.h | |
parent | bfd75d64b99342a6cb46380f7173c39026ed7ea2 (diff) | |
download | ComputeLibrary-7ae80a928564eba96c4fef0b91b1c50e1647fb8d.tar.gz |
COMPMID-2549: Add GLES Runtime Context interfaces.
* Creates interfaces and concrete classes
* Ports GCActivationalLayer
* Adapts test framework and relevant tests
Change-Id: Ide36cd65ebf185958db3c4a5bebd630fcb2f39b3
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2199
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/CL/CLCoreRuntimeContext.h')
-rw-r--r-- | arm_compute/core/CL/CLCoreRuntimeContext.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/arm_compute/core/CL/CLCoreRuntimeContext.h b/arm_compute/core/CL/CLCoreRuntimeContext.h index 6e2bd43d53..c5d81778b5 100644 --- a/arm_compute/core/CL/CLCoreRuntimeContext.h +++ b/arm_compute/core/CL/CLCoreRuntimeContext.h @@ -28,8 +28,10 @@ namespace arm_compute { +// Forward declarations class CLKernelLibrary; -/** Core runtime context */ + +/** Core runtime context for OpenCL */ class CLCoreRuntimeContext final { public: @@ -48,10 +50,20 @@ public: CLCoreRuntimeContext &operator=(const CLCoreRuntimeContext &) = default; /** Default move assignment operator */ CLCoreRuntimeContext &operator=(CLCoreRuntimeContext &&) = default; - /** CPU Scheduler setter */ - + /** Kernel Library accessor + * + * @return The kernel library instance used by the core context + */ CLKernelLibrary *kernel_library() const; - cl::Context context(); + /** OpenCL context accessor + * + * @return The OpenCL context used by the core context + */ + cl::Context context(); + /** OpenCL command queue accessor + * + * @return The OpenCL queue used by the core context + */ cl::CommandQueue queue(); private: |