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

Function clBuildProgram

src/core/CL/OpenCL.cpp:440–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440cl_int clBuildProgram(cl_program program,
441 cl_uint num_devices,
442 const cl_device_id *device_list,
443 const char *options,
444 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data),
445 void *user_data)
446{
447 arm_compute::CLSymbols::get().load_default();
448 auto func = arm_compute::CLSymbols::get().clBuildProgram_ptr;
449 if (func != nullptr)
450 {
451 return func(program, num_devices, device_list, options, pfn_notify, user_data);
452 }
453 else
454 {
455 return CL_OUT_OF_RESOURCES;
456 }
457}
458
459cl_int clEnqueueNDRangeKernel(cl_command_queue command_queue,
460 cl_kernel kernel,

Callers 2

ProgramMethod · 0.85
buildMethod · 0.85

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected