Returns the device that the command queue issues commands to.
| 214 | |
| 215 | /// Returns the device that the command queue issues commands to. |
| 216 | device get_device() const |
| 217 | { |
| 218 | return device(get_info<cl_device_id>(CL_QUEUE_DEVICE)); |
| 219 | } |
| 220 | |
| 221 | /// Returns the context for the command queue. |
| 222 | context get_context() const |