Options to configure allocations. More...
#include <arccore/common/MemoryAllocationOptions.h>
Public Member Functions | |
| MemoryAllocationOptions (IMemoryAllocator *allocator) | |
| MemoryAllocationOptions (IMemoryAllocator *allocator, eMemoryLocationHint mem_hint) | |
| MemoryAllocationOptions (IMemoryAllocator *allocator, eMemoryLocationHint mem_hint, Int8 device) | |
| MemoryAllocationOptions (const MemoryAllocationOptions &rhs) | |
| MemoryAllocationOptions & | operator= (const MemoryAllocationOptions &rhs) |
| IMemoryAllocator * | allocator () const |
| void | setAllocator (IMemoryAllocator *v) |
| eMemoryLocationHint | memoryLocationHint () const |
| void | setMemoryLocationHint (eMemoryLocationHint mem_advice) |
| Int16 | device () const |
| void | setDevice (Int16 device) |
| void | setArrayName (const String &name) |
| String | arrayName () const |
| MemoryAllocationArgs | allocationArgs (RunQueue *queue=nullptr) const |
| Arguments for 'IMemoryAllocator' associated with these options and the queue. | |
Friends | |
| class | ArrayMetaData |
| bool | operator== (const MemoryAllocationOptions &a, const MemoryAllocationOptions &b) |
Options to configure allocations.
Definition at line 31 of file common/arccore/common/MemoryAllocationOptions.h.
|
inlineexplicit |
Definition at line 39 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 44 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 50 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 59 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 69 of file common/arccore/common/MemoryAllocationOptions.h.
| MemoryAllocationArgs Arcane::MemoryAllocationOptions::allocationArgs | ( | RunQueue * | queue = nullptr | ) | const |
Arguments for 'IMemoryAllocator' associated with these options and the queue.
Definition at line 36 of file MemoryAllocationOptions.cc.
|
inline |
Definition at line 91 of file common/arccore/common/MemoryAllocationOptions.h.
| String Arcane::MemoryAllocationOptions::arrayName | ( | ) | const |
Definition at line 63 of file MemoryAllocationOptions.cc.
|
inline |
Definition at line 97 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 94 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 74 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 92 of file common/arccore/common/MemoryAllocationOptions.h.
| void Arcane::MemoryAllocationOptions::setArrayName | ( | const String & | name | ) |
Definition at line 50 of file MemoryAllocationOptions.cc.
|
inline |
Definition at line 98 of file common/arccore/common/MemoryAllocationOptions.h.
|
inline |
Definition at line 95 of file common/arccore/common/MemoryAllocationOptions.h.
|
friend |
Definition at line 33 of file common/arccore/common/MemoryAllocationOptions.h.
|
friend |
Definition at line 109 of file common/arccore/common/MemoryAllocationOptions.h.