MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / program_name

Method program_name

src/gpu/cl/ClKernelLibrary.cpp:983–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981}
982
983std::string ClKernelLibrary::program_name(const std::string &kernel_name) const
984{
985 // Find which program contains the kernel
986 auto kernel_program_it = _kernel_program_map.find(kernel_name);
987
988 if (_kernel_program_map.end() == kernel_program_it)
989 {
990 ARM_COMPUTE_ERROR_VAR("Kernel %s not found in the CLKernelLibrary", kernel_name.c_str());
991 }
992
993 const std::string program_name = kernel_program_it->second;
994
995 return program_name;
996}
997
998void ClKernelLibrary::set_kernel_path(std::string kernel_path)
999{

Callers 3

create_kernelMethod · 0.80
get_program_nameMethod · 0.80
create_kernelFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected