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/runtime/CL | |
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/runtime/CL')
-rw-r--r-- | arm_compute/runtime/CL/CLHelpers.h | 2 | ||||
-rw-r--r-- | arm_compute/runtime/CL/CLScheduler.h | 2 | ||||
-rw-r--r-- | arm_compute/runtime/CL/ICLSimpleFunction.h | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/arm_compute/runtime/CL/CLHelpers.h b/arm_compute/runtime/CL/CLHelpers.h index 84f155afd2..6d00026df9 100644 --- a/arm_compute/runtime/CL/CLHelpers.h +++ b/arm_compute/runtime/CL/CLHelpers.h @@ -29,8 +29,10 @@ namespace arm_compute { +// Forward declarations class CLRuntimeContext; class ICLKernel; + /** This function creates an OpenCL context and a device. * * @note In debug builds, the function will automatically enable cl_arm_printf if the driver/device supports it. diff --git a/arm_compute/runtime/CL/CLScheduler.h b/arm_compute/runtime/CL/CLScheduler.h index 720c8b37f5..36208208f4 100644 --- a/arm_compute/runtime/CL/CLScheduler.h +++ b/arm_compute/runtime/CL/CLScheduler.h @@ -153,5 +153,5 @@ private: ICLTuner *_cl_tuner; std::unique_ptr<ICLTuner> _cl_default_static_tuner; }; -} +} // namespace arm_compute #endif /* __ARM_COMPUTE_CLSCHEDULER_H__ */ diff --git a/arm_compute/runtime/CL/ICLSimpleFunction.h b/arm_compute/runtime/CL/ICLSimpleFunction.h index 8399a3d58e..5b6b608705 100644 --- a/arm_compute/runtime/CL/ICLSimpleFunction.h +++ b/arm_compute/runtime/CL/ICLSimpleFunction.h @@ -32,7 +32,9 @@ namespace arm_compute { +// Forward declarations class CLRuntimeContext; + /** Basic interface for functions which have a single OpenCL kernel */ class ICLSimpleFunction : public IFunction { @@ -60,5 +62,5 @@ protected: CLFillBorderKernel _border_handler; /**< Kernel to handle borders */ CLRuntimeContext *_ctx; /**< Context to use */ }; -} +} // namespace arm_compute #endif /*__ARM_COMPUTE_ICLSIMPLEFUNCTION_H__ */ |