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

Function clGetContextInfo

src/core/CL/OpenCL.cpp:351–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351cl_int clGetContextInfo(cl_context context,
352 cl_context_info param_name,
353 size_t param_value_size,
354 void *param_value,
355 size_t *param_value_size_ret)
356{
357 arm_compute::CLSymbols::get().load_default();
358 auto func = arm_compute::CLSymbols::get().clGetContextInfo_ptr;
359 if (func != nullptr)
360 {
361 return func(context, param_name, param_value_size, param_value, param_value_size_ret);
362 }
363 else
364 {
365 return CL_OUT_OF_RESOURCES;
366 }
367}
368
369cl_command_queue clCreateCommandQueue(cl_context context,
370 cl_device_id device,

Callers 1

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected