MCPcopy Create free account
hub / github.com/SatDump/SatDump / clBuildProgram

Function clBuildProgram

src-core/libs/libopencl_loader/opencl_loader.cpp:565–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563using CLSymbols = OpenCLHelper::CLSymbols;
564
565CL_LOADER_EXPORT cl_int clBuildProgram(
566 cl_program program,
567 cl_uint num_devices,
568 const cl_device_id* device_list,
569 const char* options,
570 void(CL_CALLBACK* pfn_notify)(cl_program program, void* user_data),
571 void* user_data)
572{
573 auto func = CLSymbols::Get().clBuildProgram;
574 if (func != nullptr) {
575 return func(
576 program, num_devices, device_list, options, pfn_notify, user_data);
577 } else {
578 return CL_LOADER_FAILED_MAP_SYMBOL;
579 }
580}
581
582CL_LOADER_EXPORT cl_int clEnqueueNDRangeKernel(cl_command_queue command_queue,
583 cl_kernel kernel,

Callers 3

buildCLKernelFunction · 0.85
ProgramMethod · 0.85
buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected