|
cuda-kat
CUDA kernel author's tools
|
A richer (kind-of-a-)wrapper for CUDA's dim3 class, used to specify dimensions for blocks and grid (up to 3 dimensions).
More...
Public Member Functions | |
| constexpr KAT_FHD | dimensions_t (unsigned x_=1, unsigned y_=1, unsigned z_=1) noexcept |
| constexpr KAT_FHD | dimensions_t (uint3 v) noexcept |
| constexpr KAT_FHD | dimensions_t (dim3 dims) noexcept |
| constexpr KAT_FHD | operator uint3 (void) const noexcept |
| KAT_FHD | operator dim3 (void) const noexcept |
| constexpr KAT_FHD unsigned | volume () const noexcept |
| constexpr KAT_FHD bool | empty () const noexcept |
| constexpr KAT_FHD unsigned | dimensionality () const noexcept |
| The number of actual dimensions (i.e. More... | |
Public Attributes | |
| grid_dimension_t | x |
| grid_dimension_t | y |
| grid_dimension_t | z |
A richer (kind-of-a-)wrapper for CUDA's dim3 class, used to specify dimensions for blocks and grid (up to 3 dimensions).
cuda::dimensions_t from the cuda-api-wrappers library...
|
inlinenoexcept |
The number of actual dimensions (i.e.
dimensions/axes with more than a single value)
1.8.12