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

Function clGetDeviceIDs

src/core/CL/OpenCL.cpp:886–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886cl_int clGetDeviceIDs(cl_platform_id platform,
887 cl_device_type device_type,
888 cl_uint num_entries,
889 cl_device_id *devices,
890 cl_uint *num_devices)
891{
892 arm_compute::CLSymbols::get().load_default();
893 auto func = arm_compute::CLSymbols::get().clGetDeviceIDs_ptr;
894 if (func != nullptr)
895 {
896 return func(platform, device_type, num_entries, devices, num_devices);
897 }
898 else
899 {
900 return CL_OUT_OF_RESOURCES;
901 }
902}
903
904cl_int clGetDeviceInfo(cl_device_id device,
905 cl_device_info param_name,

Callers 1

getDevicesMethod · 0.85

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected