command queue for a device.
More...
|
| queue () |
|
| queue (device) |
|
template<typename T > |
void | copy (buffer< T >, direction) |
|
template<typename T > |
void | copy (const T *from, T *to, size_t size) |
|
void | memcpy (void *dst, const void *src, size_t size_bytes) |
|
void | memset (void *dst, int value, size_t size_bytes) |
|
template<typename T > |
void | memset (buffer< T >, int value) |
|
template<typename Kernel , typename... Args> |
void | launch (grid params, Args &&... args) |
|
void | wait () |
|
command queue for a device.
◆ queue() [1/2]
Construct a queue for the standard device set via the XPU_DEVICE environment variable.
◆ queue() [2/2]
Construct a queue for the given device.
◆ copy() [1/2]
◆ copy() [2/2]
template<typename T >
void xpu::queue::copy |
( |
const T * |
from, |
|
|
T * |
to, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ launch()
template<typename Kernel , typename... Args>
void xpu::queue::launch |
( |
grid |
params, |
|
|
Args &&... |
args |
|
) |
| |
◆ memcpy()
void xpu::queue::memcpy |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
size_t |
size_bytes |
|
) |
| |
◆ memset() [1/2]
template<typename T >
void xpu::queue::memset |
( |
buffer< T > |
, |
|
|
int |
value |
|
) |
| |
◆ memset() [2/2]
void xpu::queue::memset |
( |
void * |
dst, |
|
|
int |
value, |
|
|
size_t |
size_bytes |
|
) |
| |
◆ wait()
void xpu::queue::wait |
( |
| ) |
|
The documentation for this class was generated from the following file: