Arcane  v4.1.5.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >

Informations d'une boucle utilisant le parallélisme hiérarchique sur l'hôte. Plus de détails...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/accelerator/arccore/accelerator/RunCommandLaunchImpl.h>

+ Graphe de collaboration de Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >:

Types publics

using IndexType = IndexType_
 

Fonctions membres publiques

ARCCORE_ACCELERATOR_EXPORT HostLaunchLoopRangeBase (IndexType total_size, Int32 nb_group, IndexType block_size)
 
constexpr IndexType nbElement () const
 Nombre d'éléments à traiter.
 
constexpr IndexType blockSize () const
 Taille d'un bloc.
 
constexpr Int32 nbBlock () const
 Nombre de blocs.
 
constexpr IndexType lastBlockSize () const
 Nombre d'éléments du dernier bloc.
 
constexpr IndexType nbActiveItem (Int32 i) const
 Nombre d'éléments actifs pour le i-ème bloc.
 
ThreadGridSynchronizerthreadGridSynchronizer () const
 Synchronizer de la grille (non nul uniquement en multi-thread coopératif)
 
void setThreadGridSynchronizer (ThreadGridSynchronizer *v)
 

Attributs privés

ThreadGridSynchronizerm_thread_grid_synchronizer = nullptr
 Cette instance est gérée par arcaneParallelFor(HostLaunchLoopRange<>...)
 
IndexType m_total_size = 0
 
IndexType m_block_size = 0
 
IndexType m_last_block_size = 0
 
Int32 m_nb_block = 0
 

Description détaillée

template<typename IndexType_>
class Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >

Informations d'une boucle utilisant le parallélisme hiérarchique sur l'hôte.

Définition à la ligne 40 du fichier RunCommandLaunchImpl.h.

Documentation des définitions de type membres

◆ IndexType

template<typename IndexType_>
using Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::IndexType = IndexType_

Définition à la ligne 44 du fichier RunCommandLaunchImpl.h.

Documentation des constructeurs et destructeur

◆ HostLaunchLoopRangeBase()

template<typename IndexType_>
ARCCORE_ACCELERATOR_EXPORT Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::HostLaunchLoopRangeBase ( IndexType total_size,
Int32 nb_group,
IndexType block_size )

Définition à la ligne 39 du fichier RunCommandLaunch.cc.

Documentation des fonctions membres

◆ blockSize()

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::blockSize ( ) const
inlineconstexpr

Taille d'un bloc.

Définition à la ligne 56 du fichier RunCommandLaunchImpl.h.

Référencé par Arcane::Accelerator::Impl::WorkGroupSequentialForHelper::apply().

+ Voici le graphe des appelants de cette fonction :

◆ lastBlockSize()

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::lastBlockSize ( ) const
inlineconstexpr

Nombre d'éléments du dernier bloc.

Définition à la ligne 60 du fichier RunCommandLaunchImpl.h.

◆ nbActiveItem()

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::nbActiveItem ( Int32 i) const
inlineconstexpr

Nombre d'éléments actifs pour le i-ème bloc.

Définition à la ligne 62 du fichier RunCommandLaunchImpl.h.

Référencé par Arcane::Accelerator::Impl::WorkGroupSequentialForHelper::apply().

+ Voici le graphe des appelants de cette fonction :

◆ nbBlock()

template<typename IndexType_>
Int32 Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::nbBlock ( ) const
inlineconstexpr

Nombre de blocs.

Définition à la ligne 58 du fichier RunCommandLaunchImpl.h.

Référencé par Arcane::Accelerator::Impl::WorkGroupSequentialForHelper::apply().

+ Voici le graphe des appelants de cette fonction :

◆ nbElement()

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::nbElement ( ) const
inlineconstexpr

Nombre d'éléments à traiter.

Définition à la ligne 54 du fichier RunCommandLaunchImpl.h.

Référencé par Arcane::Accelerator::Impl::WorkGroupSequentialForHelper::apply().

+ Voici le graphe des appelants de cette fonction :

◆ setThreadGridSynchronizer()

template<typename IndexType_>
void Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::setThreadGridSynchronizer ( ThreadGridSynchronizer * v)
inline

Définition à la ligne 71 du fichier RunCommandLaunchImpl.h.

◆ threadGridSynchronizer()

template<typename IndexType_>
ThreadGridSynchronizer * Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::threadGridSynchronizer ( ) const
inline

Synchronizer de la grille (non nul uniquement en multi-thread coopératif)

Définition à la ligne 67 du fichier RunCommandLaunchImpl.h.

Référencé par Arcane::Accelerator::Impl::WorkGroupSequentialForHelper::apply().

+ Voici le graphe des appelants de cette fonction :

Documentation des données membres

◆ m_block_size

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::m_block_size = 0
private

Définition à la ligne 81 du fichier RunCommandLaunchImpl.h.

◆ m_last_block_size

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::m_last_block_size = 0
private

Définition à la ligne 82 du fichier RunCommandLaunchImpl.h.

◆ m_nb_block

template<typename IndexType_>
Int32 Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::m_nb_block = 0
private

Définition à la ligne 83 du fichier RunCommandLaunchImpl.h.

◆ m_thread_grid_synchronizer

template<typename IndexType_>
ThreadGridSynchronizer* Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::m_thread_grid_synchronizer = nullptr
private

Cette instance est gérée par arcaneParallelFor(HostLaunchLoopRange<>...)

Définition à la ligne 79 du fichier RunCommandLaunchImpl.h.

◆ m_total_size

template<typename IndexType_>
IndexType Arcane::Accelerator::Impl::HostLaunchLoopRangeBase< IndexType_ >::m_total_size = 0
private

Définition à la ligne 80 du fichier RunCommandLaunchImpl.h.


La documentation de cette classe a été générée à partir des fichiers suivants :