7#include <rexlib/core/platform/dynamic_shared_object.h>
9#include "memory_resource_affinity.hpp"
Abstract representation of a hardware compute device.
Definition device.hpp:26
virtual std::shared_ptr< command_queue > create_command_queue() const =0
Create a new command queue on this device.
virtual const memory_resource & get_memory_resource(memory_resource_affinity affinity) const =0
Retrieve a memory resource by its affinity.
Abstract description of a physical memory region.
Definition memory_resource.hpp:21
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