DeviceCommandQueue interface for device cl_command_queues.
More...
#include <opencl.hpp>
|
| DeviceCommandQueue () |
|
| DeviceCommandQueue (DeviceQueueProperties properties, cl_int *err=NULL) |
|
| DeviceCommandQueue (const Context &context, const Device &device, DeviceQueueProperties properties=DeviceQueueProperties::None, cl_int *err=NULL) |
|
| DeviceCommandQueue (const Context &context, const Device &device, cl_uint queueSize, DeviceQueueProperties properties=DeviceQueueProperties::None, cl_int *err=NULL) |
|
| DeviceCommandQueue (const cl_command_queue &commandQueue, bool retainObject=false) |
| Constructor from cl_command_queue - takes ownership. More...
|
|
DeviceCommandQueue & | operator= (const cl_command_queue &rhs) |
|
| DeviceCommandQueue (const DeviceCommandQueue &queue) |
| Copy constructor to forward copy to the superclass correctly. Required for MSVC. More...
|
|
DeviceCommandQueue & | operator= (const DeviceCommandQueue &queue) |
| Copy assignment to forward copy to the superclass correctly. Required for MSVC. More...
|
|
| DeviceCommandQueue (DeviceCommandQueue &&queue) CL_HPP_NOEXCEPT_ |
| Move constructor to forward move to the superclass correctly. Required for MSVC. More...
|
|
DeviceCommandQueue & | operator= (DeviceCommandQueue &&queue) |
| Move assignment to forward move to the superclass correctly. Required for MSVC. More...
|
|
template<typename T > |
cl_int | getInfo (cl_command_queue_info name, T *param) const |
|
template<cl_command_queue_info name> |
detail::param_traits< detail::cl_command_queue_info, name >::param_type | getInfo (cl_int *err=NULL) const |
|
| Wrapper (const cl_type &obj, bool retainObject) |
|
| Wrapper (const Wrapper< cl_type > &rhs) |
|
| Wrapper (Wrapper< cl_type > &&rhs) CL_HPP_NOEXCEPT_ |
|
Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
|
Wrapper< cl_type > & | operator= (Wrapper< cl_type > &&rhs) |
|
Wrapper< cl_type > & | operator= (const cl_type &rhs) |
|
const cl_type & | operator() () const |
|
cl_type & | operator() () |
|
cl_type | get () const |
|
DeviceCommandQueue interface for device cl_command_queues.
Definition at line 8870 of file opencl.hpp.
◆ DeviceCommandQueue() [1/7]
cl::DeviceCommandQueue::DeviceCommandQueue |
( |
| ) |
|
|
inline |
Trivial empty constructor to create a null queue.
Definition at line 8877 of file opencl.hpp.
◆ DeviceCommandQueue() [2/7]
cl::DeviceCommandQueue::DeviceCommandQueue |
( |
DeviceQueueProperties |
properties, |
|
|
cl_int * |
err = NULL |
|
) |
| |
|
inline |
Default construct device command queue on default context and device
Definition at line 8882 of file opencl.hpp.
◆ DeviceCommandQueue() [3/7]
cl::DeviceCommandQueue::DeviceCommandQueue |
( |
const Context & |
context, |
|
|
const Device & |
device, |
|
|
DeviceQueueProperties |
properties = DeviceQueueProperties::None , |
|
|
cl_int * |
err = NULL |
|
) |
| |
|
inline |
Create a device command queue for a specified device in the passed context.
Definition at line 8905 of file opencl.hpp.
◆ DeviceCommandQueue() [4/7]
cl::DeviceCommandQueue::DeviceCommandQueue |
( |
const Context & |
context, |
|
|
const Device & |
device, |
|
|
cl_uint |
queueSize, |
|
|
DeviceQueueProperties |
properties = DeviceQueueProperties::None , |
|
|
cl_int * |
err = NULL |
|
) |
| |
|
inline |
Create a device command queue for a specified device in the passed context.
Definition at line 8929 of file opencl.hpp.
◆ DeviceCommandQueue() [5/7]
cl::DeviceCommandQueue::DeviceCommandQueue |
( |
const cl_command_queue & |
commandQueue, |
|
|
bool |
retainObject = false |
|
) |
| |
|
inlineexplicit |
Constructor from cl_command_queue - takes ownership.
- Parameters
-
retainObject | will cause the constructor to retain its cl object. Defaults to false to maintain compatibility with earlier versions. |
Definition at line 8959 of file opencl.hpp.
◆ DeviceCommandQueue() [6/7]
Copy constructor to forward copy to the superclass correctly. Required for MSVC.
Definition at line 8971 of file opencl.hpp.
◆ DeviceCommandQueue() [7/7]
Move constructor to forward move to the superclass correctly. Required for MSVC.
Definition at line 8985 of file opencl.hpp.
◆ getDefault()
Return the current default command queue for the specified command queue
Definition at line 9129 of file opencl.hpp.
◆ getInfo() [1/2]
template<typename T >
cl_int cl::DeviceCommandQueue::getInfo |
( |
cl_command_queue_info |
name, |
|
|
T * |
param |
|
) |
| const |
|
inline |
◆ getInfo() [2/2]
template<cl_command_queue_info name>
detail::param_traits< detail::cl_command_queue_info, name >::param_type cl::DeviceCommandQueue::getInfo |
( |
cl_int * |
err = NULL | ) |
const |
|
inline |
◆ makeDefault() [1/3]
Create a new default device command queue for the default device, in the default context and of the default size. If there is already a default queue for the specified device this function will return the pre-existing queue.
Definition at line 9024 of file opencl.hpp.
◆ makeDefault() [2/3]
Create a new default device command queue for the specified device and of the default size. If there is already a default queue for the specified device this function will return the pre-existing queue.
Definition at line 9054 of file opencl.hpp.
◆ makeDefault() [3/3]
static DeviceCommandQueue cl::DeviceCommandQueue::makeDefault |
( |
const Context & |
context, |
|
|
const Device & |
device, |
|
|
cl_uint |
queueSize, |
|
|
cl_int * |
err = nullptr |
|
) |
| |
|
inlinestatic |
Create a new default device command queue for the specified device and of the requested size in bytes. If there is already a default queue for the specified device this function will return the pre-existing queue.
Definition at line 9082 of file opencl.hpp.
◆ operator=() [1/3]
◆ operator=() [2/3]
Copy assignment to forward copy to the superclass correctly. Required for MSVC.
Definition at line 8976 of file opencl.hpp.
◆ operator=() [3/3]
Move assignment to forward move to the superclass correctly. Required for MSVC.
Definition at line 8990 of file opencl.hpp.
◆ updateDefault()
Modify the default device command queue to be used for subsequent kernels. This can update the default command queue for a device repeatedly to account for kernels that rely on the default.
- Returns
- updated default device command queue.
Definition at line 9114 of file opencl.hpp.
The documentation for this class was generated from the following file: