Template Function ripple::get_exec_size¶
Function Documentation¶
- 
template<typename Block, typenameExeImpl, any_block_1d_enable_t<Block> = 0>
 autoripple::get_exec_size(const Block &block, const ExecParams<ExeImpl> &exec_params, int overlap = 0) noexcept -> std::tuple<dim3, dim3>¶
- Computes the number of threads and blocks required to cover the space defined by the - block, with the execution space defined by the- exec_params.- This overload is only enabled if the - blockis one dimensional.- This overload is only enabled if the - blockis two dimensional.- Return
- A tuple with { num threads (3d), num blocks (3d) }. 
- Parameters
- block: The block to generate the execution size for.
- exec_params: The execution parameters.
 
- Template Parameters
- Block: The type of the block.
- ExeImpl: The type of the execution parameter implementation.
 
 - This overload is only enabled if the - blockis three dimensional.- Return
- A tuple with { num threads (3d), num blocks (3d) }. 
- Parameters
- block: The block to generate the execution size for.
- exec_params: The execution parameters.
 
- Template Parameters
- Block: The type of the block.
- ExeImpl: The type of the execution parameter implementation.
 
 - Return
- A tuple with { num threads (3d), num blocks (3d) }. 
- Parameters
- block: The block to generate the execution size for.
- exec_params: The execution parameters.
 
- Template Parameters
- Block: The type of the block.
- ExeImpl: The type of the execution parameter implementation.