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

Function clGetPlatformIDs

src/core/CL/OpenCL.cpp:969–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967}
968
969cl_int clGetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms)
970{
971 arm_compute::CLSymbols::get().load_default();
972 auto func = arm_compute::CLSymbols::get().clGetPlatformIDs_ptr;
973 if (func != nullptr)
974 {
975 return func(num_entries, platforms, num_platforms);
976 }
977 else
978 {
979 return CL_OUT_OF_RESOURCES;
980 }
981}
982
983cl_int clGetKernelWorkGroupInfo(cl_kernel kernel,
984 cl_device_id device,

Callers 4

loadMethod · 0.85
opencl_is_availableFunction · 0.85
makeDefaultMethod · 0.85
getMethod · 0.85

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected