Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Impl::NumArrayBaseCommon Class Reference

Common implementation for NumArray. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/NumArrayContainer.h>

Inheritance diagram for Arcane::Impl::NumArrayBaseCommon:
Collaboration diagram for Arcane::Impl::NumArrayBaseCommon:

Static Protected Member Functions

static MemoryAllocationOptions _getDefaultAllocator ()
static MemoryAllocationOptions _getDefaultAllocator (eMemoryResource r)
static void _checkHost (eMemoryResource r)
static void _memoryAwareCopy (Span< const std::byte > from, eMemoryResource from_mem, Span< std::byte > to, eMemoryResource to_mem, const RunQueue *queue)
static void _memoryAwareFill (Span< std::byte > to, Int64 nb_element, const void *fill_address, Int32 datatype_size, SmallSpan< const Int32 > indexes, const RunQueue *queue)
static void _memoryAwareFill (Span< std::byte > to, Int64 nb_element, const void *fill_address, Int32 datatype_size, const RunQueue *queue)

Detailed Description

Common implementation for NumArray.

Definition at line 32 of file arccore/src/common/arccore/common/NumArrayContainer.h.

Member Function Documentation

◆ _checkHost()

void Arcane::Impl::NumArrayBaseCommon::_checkHost ( eMemoryResource r)
staticprotected

Definition at line 47 of file NumArray.cc.

◆ _getDefaultAllocator() [1/2]

MemoryAllocationOptions Arcane::Impl::NumArrayBaseCommon::_getDefaultAllocator ( )
staticprotected

Definition at line 29 of file NumArray.cc.

◆ _getDefaultAllocator() [2/2]

MemoryAllocationOptions Arcane::Impl::NumArrayBaseCommon::_getDefaultAllocator ( eMemoryResource r)
staticprotected

Definition at line 38 of file NumArray.cc.

◆ _memoryAwareCopy()

void Arcane::Impl::NumArrayBaseCommon::_memoryAwareCopy ( Span< const std::byte > from,
eMemoryResource from_mem,
Span< std::byte > to,
eMemoryResource to_mem,
const RunQueue * queue )
staticprotected

Definition at line 58 of file NumArray.cc.

◆ _memoryAwareFill() [1/2]

void Arcane::Impl::NumArrayBaseCommon::_memoryAwareFill ( Span< std::byte > to,
Int64 nb_element,
const void * fill_address,
Int32 datatype_size,
const RunQueue * queue )
staticprotected

Definition at line 80 of file NumArray.cc.

◆ _memoryAwareFill() [2/2]

void Arcane::Impl::NumArrayBaseCommon::_memoryAwareFill ( Span< std::byte > to,
Int64 nb_element,
const void * fill_address,
Int32 datatype_size,
SmallSpan< const Int32 > indexes,
const RunQueue * queue )
staticprotected

Definition at line 68 of file NumArray.cc.


The documentation for this class was generated from the following files: