Public Member Functions | |
| virtual IMemoryAllocator * | getAllocator (eMemoryResource r)=0 |
| Memory allocator for resource r. | |
| virtual IMemoryAllocator * | getAllocator (eMemoryResource r, bool throw_if_not_found)=0 |
| Memory allocator for resource r. | |
| virtual IMemoryPool * | getMemoryPoolOrNull (eMemoryResource r)=0 |
| Memory pool for resource r. | |
| virtual IMemoryResourceMngInternal * | _internal ()=0 |
| Internal interface. | |
Definition at line 32 of file IMemoryResourceMng.h.
|
pure virtual |
Memory allocator for resource r.
Throws an exception if no allocator for resource v exists.
Referenced by Arcane::MemoryUtils::getDeviceOrHostAllocator().
|
pure virtual |
Memory allocator for resource r.
If no allocator for resource v exists, throws an exception if throw_if_not_found is true or returns nullptr if throw_if_not_found is false.
|
pure virtual |
Memory pool for resource r.
Returns the memory pool associated with resource v or nullptr if there is none.