14#include "arccore/common/MemoryAllocationOptions.h"
15#include "arccore/common/MemoryAllocationArgs.h"
16#include "arccore/common/ArrayDebugInfo.h"
27String MemoryAllocationArgs::
30 return (m_debug_info) ? m_debug_info->name() : String();
40 x.setMemoryLocationHint(m_memory_location_hint);
41 x.setDevice(m_device);
42 x.setDebugInfo(m_debug_info);
50void MemoryAllocationOptions::
51setArrayName(
const String& name)
55 m_debug_info->addReference();
57 m_debug_info->setName(name);
63String MemoryAllocationOptions::
66 return (m_debug_info) ? m_debug_info->name() : String{};
72void MemoryAllocationOptions::
75 m_debug_info->addReference();
81void MemoryAllocationOptions::
82_removeDebugReference()
84 m_debug_info->removeReference();
Execution queue for an accelerator.
Debug information for array classes.
Class containing information to specialize allocations.
MemoryAllocationArgs allocationArgs(RunQueue *queue=nullptr) const
Arguments for 'IMemoryAllocator' associated with these options and the queue.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --