14#include "arccore/common/accelerator/Memory.h"
35 return "PreferredLocationDevice";
37 return "PreferredLocationHost";
39 return "AccessedByDevice";
41 return "AccessedByHost";
47extern "C++" ARCCORE_COMMON_EXPORT std::ostream&
Namespace for accelerator usage.
eMemoryAdvice
Memory management advice.
@ AccessedByHost
Indicates that the memory region is accessed by the host.
@ PreferredLocationDevice
Prefers memory placement on the accelerator.
@ MostlyRead
Indicates that the memory region is primarily read-only.
@ PreferredLocationHost
Prefers memory placement on the host.
@ AccessedByDevice
Indicates that the memory region is accessed by the device.