Template Function ripple::block_size¶
Function Documentation¶
-
template<typename
Dim
>
autoripple
::
block_size
(Dim &&dim) noexcept -> size_t¶ Gets the value of the block size in the grid in a given dimension.
The dimension must be one of dim_x, dim_y, dim_z, or a value specifting the index of the dimension.
- Return
The size of the block for the dimension (number of threads).
- Parameters
dim
: the dimension to get the block size for.
- Template Parameters
Dim
: the type of the dimension specifier.