5#include "memory_resource_affinity.hpp"
7#include <rexlib/core/platform/dynamic_shared_object.h>
43 std::size_t alignment,
70 std::
size_t get_alignment() const noexcept;
82 std::
size_t m_alignment;
Describes a scratch buffer requirement for program execution.
Definition program_scratch_requirement.hpp:28
program_scratch_requirement(std::size_t size, std::size_t alignment, memory_resource_affinity affinity) noexcept
Constructs a scratch buffer requirement.
std::size_t get_size() const noexcept
Returns the required scratch buffer size in bytes.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
memory_resource_affinity
Enumeration to query memory_resource according to its intended usage.
Definition memory_resource_affinity.hpp:12