Arcane  v4.1.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >
+ Graphe d'héritage de Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >:
+ Graphe de collaboration de Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >:

Fonctions membres publiques

void * allocateMemory (size_t size) final
 Alloue un bloc pour size octets.
 
void freeMemory (void *ptr, size_t size) final
 Libère le bloc situé à l'adresse address contenant size octets.
 
void doMemoryCopy (void *destination, const void *source, Int64 size) final
 
eMemoryResource memoryResource () const final
 

Attributs publics

ConcreteAllocatorType m_concrete_allocator
 

Description détaillée

template<typename ConcreteAllocatorType>
class Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >

Définition à la ligne 79 du fichier CudaAccelerator.cc.

Documentation des fonctions membres

◆ allocateMemory()

template<typename ConcreteAllocatorType>
void * Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >::allocateMemory ( size_t size)
inlinefinalvirtual

Alloue un bloc pour size octets.

Implémente Arcane::impl::IMemoryPoolAllocator.

Définition à la ligne 88 du fichier CudaAccelerator.cc.

◆ doMemoryCopy()

template<typename ConcreteAllocatorType>
void Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >::doMemoryCopy ( void * destination,
const void * source,
Int64 size )
inlinefinalvirtual

◆ freeMemory()

template<typename ConcreteAllocatorType>
void Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >::freeMemory ( void * address,
size_t size )
inlinefinalvirtual

Libère le bloc situé à l'adresse address contenant size octets.

Implémente Arcane::impl::IMemoryPoolAllocator.

Définition à la ligne 94 du fichier CudaAccelerator.cc.

◆ memoryResource()

template<typename ConcreteAllocatorType>
eMemoryResource Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >::memoryResource ( ) const
inlinefinalvirtual

Documentation des données membres

◆ m_concrete_allocator

template<typename ConcreteAllocatorType>
ConcreteAllocatorType Arcane::Accelerator::Cuda::UnderlyingAllocator< ConcreteAllocatorType >::m_concrete_allocator

Définition à la ligne 111 du fichier CudaAccelerator.cc.


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