24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_KERNEL_LIBRARY_H
25 #define ARM_COMPUTE_CL_KERNEL_LIBRARY_H
87 std::string _kernel_path{};
88 mutable std::map<std::string, std::string>
89 _decompressed_source_map{};
90 static const std::map<std::string, std::string>
92 static const std::map<std::string, std::string> _program_source_map;
Structure to encapsulte program related information.
ClKernelLibrary contains all the OpenCL kernels that are used throughout the library.
std::string program
Program raw string.
ClProgramInfo program(const std::string &program_name) const
Gets the source of the selected program.
void set_kernel_path(std::string kernel_path)
Sets the path that the kernels reside in.
bool is_binary
Flag that indicates if is in binary format.
std::string program_name(const std::string &kernel_name) const
Returns the program name given a kernel name.
static ClKernelLibrary & get()
Access the KernelLibrary singleton.
const std::string & kernel_path() const
Gets the path that the kernels reside in.
Copyright (c) 2017-2024 Arm Limited.