From d7e8281d8ad7e0d0fdc0d180af64a751c4c3f175 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Tue, 20 Jun 2017 15:00:14 +0100 Subject: COMPMID-408 Create OpenCL complex math functions for 8 bit fixed point arithmetic. Logarithm, inverse square root, exponential and multiplication for 8 bit fixed point arithmetic in OPenCL. Change-Id: Ib976da7057242967c940df28ceebf39bc3ea3811 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78273 Reviewed-by: Moritz Pflanzer Tested-by: Kaizen --- arm_compute/core/CL/CLKernelLibrary.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'arm_compute/core/CL/CLKernelLibrary.h') diff --git a/arm_compute/core/CL/CLKernelLibrary.h b/arm_compute/core/CL/CLKernelLibrary.h index c29610c252..38cfad6c1d 100644 --- a/arm_compute/core/CL/CLKernelLibrary.h +++ b/arm_compute/core/CL/CLKernelLibrary.h @@ -174,6 +174,17 @@ public: { _kernel_path = kernel_path; }; + /** Gets the path that the kernels reside in. + */ + std::string get_kernel_path() + { + return _kernel_path; + }; + /** Gets the source of the selected program + * + * @param[in] program_name Program name. + */ + std::string get_program_source(const std::string &program_name); /** Sets the CL context used to create programs. * * @note Setting the context also resets the device to the -- cgit v1.2.1