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

Function create_kernel

src/core/CL/CLHelpers.cpp:442–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442cl::Kernel
443create_kernel(const CLCompileContext &ctx, const std::string &kernel_name, const std::set<std::string> &build_opts)
444{
445 opencl::ClKernelLibrary &klib = opencl::ClKernelLibrary::get();
446
447 const std::string program_name = klib.program_name(kernel_name);
448 auto kernel_src = klib.program(program_name);
449 const std::string kernel_path = klib.kernel_path();
450
451 return static_cast<cl::Kernel>(ctx.create_kernel(kernel_name, program_name, kernel_src.program, kernel_path,
452 build_opts, kernel_src.is_binary));
453}
454
455cl::NDRange create_lws_hint_parallel_implementations(unsigned int input_dimension, unsigned int vector_size)
456{

Callers 15

configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85

Calls 3

program_nameMethod · 0.80
programMethod · 0.80
create_kernelMethod · 0.45

Tested by

no test coverage detected