einpoklum
einpoklum

Reputation: 132128

In OpenCL, can we obtain the default queue for a device (in a context)?

The OpenCL API defines such a thing as the "default queue", for a given context and device in that context. Indeed, when we clCreateCommandQueueWithProperties, one of the properties we specify is for that queue to be CL_QUEUE_ON_DEVICE_DEFAULT; and there is even clSetDefaultDeviceCommandQueue.

But - what about querying the default queue for a device in a context, after it has been set? Is that possible? I can't seem to find anything relevant in the API reference.

Upvotes: 1

Views: 11

Answers (0)

Related Questions