5#include "device_type.hpp"
6#include "../platform/dynamic_shared_object.h"
155 class implementation;
156 std::unique_ptr<implementation> m_implementation;
158 implementation& create_implementation_if_null();
159 const implementation& get_implementation() const noexcept;
Description of the static characteristics of a physical device visible from the host.
Definition device_properties.hpp:27
const std::string & get_name() const noexcept
Get the device name.
std::size_t get_optimal_data_alignment() const noexcept
Get the optimal data alignment.
device_type get_type() const noexcept
Get the device type.
void set_type(device_type type)
Set the device type.
std::size_t get_total_memory_bytes() const noexcept
Get the total memory of the device in bytes.
void set_total_memory_bytes(std::size_t bytes)
Set the total memory of the device in bytes.
void set_physical_location(const std::string &location)
Set the physical location of the device.
void set_optimal_data_alignment(std::size_t alignment)
Set the optimal data alignment.
void set_name(const std::string &name)
Set the device name.
const std::string & get_physical_location() const noexcept
Get the physical location of the device.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
device_type
Broad classification of compute devices.
Definition device_type.hpp:14