28namespace Arcane::Accelerator::Impl
36: m_total_size(total_size)
37, m_block_size(block_size)
40 m_last_block_size = (total_size - (block_size * (nb_block - 1)));
41 if (m_last_block_size <= 0)
42 ARCCORE_FATAL(
"Bad value '{0}' for last group size", m_last_block_size);
48template class HostLaunchLoopRangeBase<Int32>;
49template class HostLaunchLoopRangeBase<Int64>;
#define ARCCORE_FATAL(...)
Macro throwing a FatalErrorException.
Types and macros for managing hierarchical parallelism on accelerators.
Information of a loop using hierarchical parallelism on the host.
std::int32_t Int32
Signed integer type of 32 bits.