Arcane  v4.1.4.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >

Conteneur pour RunCommandEnumerate. Plus de détails...

#include <arcane/accelerator/RunCommandEnumerate.h>

+ Graphe de collaboration de Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >:

Fonctions membres publiques

 RunCommandItemContainer (const ItemGroupT< ItemType > &group)
 
 RunCommandItemContainer (const ItemVectorViewT< ItemType > &item_vector_view)
 
Int32 size () const
 
SmallSpan< const Int32localIds () const
 
ItemVectorView paddedView () const
 

Attributs privés

ItemVectorViewT< ItemType > m_item_vector_view
 
ItemGroupT< ItemType > m_item_group
 
ItemVectorViewT< ItemType > m_unpadded_vector_view
 

Description détaillée

template<typename ItemType>
class Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >

Conteneur pour RunCommandEnumerate.

Le conteneur peut être soit un ItemVectorView, soit un ItemGroup.

Le but de ce conteneur est d'éviter de faire le padding SIMD pour un ItemGroup s'il est utilisé sur accélérateur. Comme le padding est fait sur le CPU, cela induirait des transferts mémoire lorsqu'on utilise la mémoire unifiée (ce qui est le cas par défaut).

Définition à la ligne 307 du fichier RunCommandEnumerate.h.

Documentation des constructeurs et destructeur

◆ RunCommandItemContainer() [1/2]

template<typename ItemType>
Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::RunCommandItemContainer ( const ItemGroupT< ItemType > & group)
inlineexplicit

Définition à la ligne 311 du fichier RunCommandEnumerate.h.

◆ RunCommandItemContainer() [2/2]

template<typename ItemType>
Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::RunCommandItemContainer ( const ItemVectorViewT< ItemType > & item_vector_view)
inlineexplicit

Définition à la ligne 315 du fichier RunCommandEnumerate.h.

Documentation des fonctions membres

◆ localIds()

template<typename ItemType>
SmallSpan< const Int32 > Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::localIds ( ) const
inline

Définition à la ligne 324 du fichier RunCommandEnumerate.h.

◆ paddedView()

template<typename ItemType>
ItemVectorView Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::paddedView ( ) const
inline

Définition à la ligne 325 du fichier RunCommandEnumerate.h.

◆ size()

template<typename ItemType>
Int32 Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::size ( ) const
inline

Définition à la ligne 323 du fichier RunCommandEnumerate.h.

Documentation des données membres

◆ m_item_group

template<typename ItemType>
ItemGroupT<ItemType> Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::m_item_group
private

Définition à la ligne 335 du fichier RunCommandEnumerate.h.

◆ m_item_vector_view

template<typename ItemType>
ItemVectorViewT<ItemType> Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::m_item_vector_view
private

Définition à la ligne 334 du fichier RunCommandEnumerate.h.

◆ m_unpadded_vector_view

template<typename ItemType>
ItemVectorViewT<ItemType> Arcane::Accelerator::impl::RunCommandItemContainer< ItemType >::m_unpadded_vector_view
private

Définition à la ligne 336 du fichier RunCommandEnumerate.h.


La documentation de cette classe a été générée à partir du fichier suivant :