MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / afcl_get_queue

Function afcl_get_queue

src/api/unified/opencl.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36af_err afcl_get_queue(cl_command_queue* queue, const bool retain) {
37 af_backend backend;
38 af_get_active_backend(&backend);
39 if (backend == AF_BACKEND_OPENCL) { CALL(afcl_get_queue, queue, retain); }
40 return AF_ERR_NOT_SUPPORTED;
41}
42
43af_err afcl_get_device_id(cl_device_id* id) {
44 af_backend backend;

Callers 3

TESTFunction · 0.50
getQueueFunction · 0.50
getQueueFunction · 0.50

Calls 1

af_get_active_backendFunction · 0.70

Tested by

no test coverage detected