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

Function clGetPlatformInfo

src/core/CL/OpenCL.cpp:951–967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949}
950
951cl_int clGetPlatformInfo(cl_platform_id platform,
952 cl_platform_info param_name,
953 size_t param_value_size,
954 void *param_value,
955 size_t *param_value_size_ret)
956{
957 arm_compute::CLSymbols::get().load_default();
958 auto func = arm_compute::CLSymbols::get().clGetPlatformInfo_ptr;
959 if (func != nullptr)
960 {
961 return func(platform, param_name, param_value_size, param_value, param_value_size_ret);
962 }
963 else
964 {
965 return CL_OUT_OF_RESOURCES;
966 }
967}
968
969cl_int clGetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms)
970{

Callers 1

getPlatformVersionFunction · 0.85

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected