5#include <rexlib/core/platform/dynamic_shared_object.h>
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
int score_host_affinity(memory_resource_kind kind) noexcept
Assign a numeric affinity score for host use to a memory kind.
@ host
The memory resource can be optimally accessed by the host.
int score_device_affinity(memory_resource_kind kind) noexcept
Assign a numeric affinity score for device use to a memory kind.
bool is_host_accessible(memory_resource_kind kind) noexcept
Check if the memory kind can be directly accessed from the host.
memory_resource_kind
Describes the nature of a memory resource.
Definition memory_resource_kind.hpp:14
bool is_device_accessible(memory_resource_kind kind) noexcept
Check if the memory kind can be directly accessed from the device.