Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let’s review the topic of command queues. A host creates a command queue when it wants to access a device. The host communicates with the device by dispatching commands to the queue. We refer to this process of placing commands in a command queue as enqueuing.
So far, we’ve focused solely on commands that tell the device to execute kernels. However, kernel execution is only one type of command. Other commands tell the device how and where to transfer data, and this section will examine these commands in detail.