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

Function getQueueDevice

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

Source from the content-addressed store, hash-verified

308}
309
310cl_int VISIBILITY_HIDDEN
311getQueueDevice(cl_command_queue queue, cl_device_id *device)
312{
313 cl_int err;
314 cl_device_id dev;
315
316 err = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE,
317 sizeof(cl_device_id), &dev, NULL);
318 if (err != CL_SUCCESS)
319 return err;
320 if (device != NULL)
321 *device = dev;
322 return err;
323}
324
325cl_int VISIBILITY_HIDDEN
326getQueueProperties(

Callers 11

makeSolutionSeqFunction · 0.85
getQueueMaxImagesFunction · 0.85
stripeDivisionFunction · 0.85
rectDivisionFunction · 0.85
triMatrixStripeDivisionFunction · 0.85
getStepGranulationFunction · 0.85
getStepResourcesFunction · 0.85
releaseStepImgsFunction · 0.85
findMethod · 0.85
getDeviceAndContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected