33namespace Accelerator::Impl
41: m_total_size(total_size)
43, m_block_size(block_size)
45 m_last_block_size =
static_cast<Int32
>((total_size - (block_size * (nb_block - 1))));
46 if (m_last_block_size <= 0)
47 ARCCORE_FATAL(
"Bad value '{0}' for last group size", m_last_block_size);
53template class HostLaunchLoopRangeBase<Int32>;
54template class HostLaunchLoopRangeBase<Int64>;
#define ARCCORE_FATAL(...)
Macro envoyant une exception FatalErrorException.
Types et macros pour gérer le parallélisme hiérarchique sur les accélérateurs.
Informations d'une boucle utilisant le parallélisme hiérarchique sur l'hôte.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int32_t Int32
Type entier signé sur 32 bits.