aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLKernelLibrary.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CL/CLKernelLibrary.h')
-rw-r--r--arm_compute/core/CL/CLKernelLibrary.h11
1 files changed, 11 insertions, 0 deletions
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