MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / getQueueContext

Function getQueueContext

src/library/blas/generic/common.c:295–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295cl_int VISIBILITY_HIDDEN
296getQueueContext(cl_command_queue queue, cl_context *context)
297{
298 cl_int err;
299 cl_context ctx;
300
301 err = clGetCommandQueueInfo(queue, CL_QUEUE_CONTEXT,
302 sizeof(cl_context), &ctx, NULL);
303 if (err != CL_SUCCESS)
304 return err;
305 if (context != NULL)
306 *context = ctx;
307 return err;
308}
309
310cl_int VISIBILITY_HIDDEN
311getQueueDevice(cl_command_queue queue, cl_device_id *device)

Callers 7

makeSolutionSeqFunction · 0.70
getStepResourcesFunction · 0.70
gpu_dtrsm192Function · 0.50
gpu_dtrsm128Function · 0.50
cl_dtrsmFunction · 0.50
getDeviceAndContextMethod · 0.50
cl_dtrsm192Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected