cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
Composite dimensions for a grid - in terms of blocks, then also down into the block dimensions completing the information to the thread level. More...
#include <types.hpp>
Public Member Functions | |
constexpr overall_dimensions_t | flatten () const noexcept |
constexpr size_t | volume () const noexcept |
constexpr size_t | dimensionality () const noexcept |
Static Public Member Functions | |
static constexpr composite_dimensions_t | point () noexcept |
A named constructor idiom for the composite dimensions of a single-block grid with a single-thread block. | |
Public Attributes | |
grid::dimensions_t | grid |
grid::block_dimensions_t | block |
Composite dimensions for a grid - in terms of blocks, then also down into the block dimensions completing the information to the thread level.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |