|
UMPIRE
Umpire: resource management and provision
|
Relocate a pointer to a different NUMA node. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/umpire/checkouts/develop/src/umpire/op/NumaMoveOperation.hpp>

Public Member Functions | |
| void | transform (void *src_ptr, void **dst_ptr, umpire::util::AllocationRecord *src_allocation, umpire::util::AllocationRecord *dst_allocation, std::size_t length) |
| Transform length bytes of memory from src_ptr to dst_ptr. More... | |
| virtual camp::resources::EventProxy< camp::resources::Resource > | transform_async (void *src_ptr, void **dst_ptr, util::AllocationRecord *src_allocation, util::AllocationRecord *dst_allocation, std::size_t length, camp::resources::Resource &ctx) |
| virtual void | apply (void *src_ptr, util::AllocationRecord *src_allocation, int val, std::size_t length) |
| Apply val to the first length bytes of src_ptr. More... | |
| virtual camp::resources::EventProxy< camp::resources::Resource > | apply_async (void *src_ptr, util::AllocationRecord *src_allocation, int val, std::size_t length, camp::resources::Resource &ctx) |
Relocate a pointer to a different NUMA node.
|
virtual |
Transform length bytes of memory from src_ptr to dst_ptr.
| src_ptr | Pointer to source memory location. |
| dst_ptr | Pointer to destinatino memory location. |
| src_allocation | AllocationRecord of source. |
| dst_allocation | AllocationRecord of destination. |
| length | Number of bytes to transform. |
| util::runtime_error |
Reimplemented from umpire::op::MemoryOperation.
References umpire::numa::move_to_node(), and umpire::util::AllocationRecord::strategy.
|
virtualinherited |
Reimplemented in umpire::op::HipCopyOperation, umpire::op::CudaCopyOperation, and umpire::op::GenericReallocateOperation.
References umpire::op::MemoryOperation::transform(), UMPIRE_LOG, and umpire::util::message::Warning.
|
virtualinherited |
Apply val to the first length bytes of src_ptr.
| src_ptr | Pointer to source memory location. |
| src_allocation | AllocationRecord of source. |
| val | Value to apply. |
| length | Number of bytes to modify. |
| util::runtime_error |
Reimplemented in umpire::op::HipAdviseOperation, umpire::op::CudaAdviseOperation, umpire::op::SyclMemsetOperation, umpire::op::HipMemsetOperation, umpire::op::CudaMemsetOperation, umpire::op::HostMemsetOperation, umpire::op::SyclMemPrefetchOperation, umpire::op::OpenMPTargetMemsetOperation, and umpire::op::CudaMemPrefetchOperation.
References UMPIRE_ERROR.
Referenced by umpire::op::MemoryOperation::apply_async().
|
virtualinherited |
Reimplemented in umpire::op::HipMemsetOperation, umpire::op::CudaMemsetOperation, and umpire::op::CudaMemPrefetchOperation.
References umpire::op::MemoryOperation::apply(), UMPIRE_LOG, and umpire::util::message::Warning.