ViennaCL - The Vienna Computing Library
1.5.2
|
Helper class for packing four cl_uint numbers into a uint4 type for access inside an OpenCL kernel. More...
#include <kernel.hpp>
Data Fields | |
cl_uint | start |
Starting value of the integer stride. More... | |
cl_uint | stride |
Increment between integers. More... | |
cl_uint | size |
Number of values in the stride. More... | |
cl_uint | internal_size |
Internal length of the buffer. Might be larger than 'size' due to padding. More... | |
Helper class for packing four cl_uint numbers into a uint4 type for access inside an OpenCL kernel.
Since the primary use is for dealing with ranges and strides, the four members are termed accordingly.
cl_uint internal_size |
Internal length of the buffer. Might be larger than 'size' due to padding.
cl_uint size |
Number of values in the stride.
cl_uint start |
Starting value of the integer stride.
cl_uint stride |
Increment between integers.