5#include "device_properties.hpp"
6#include "../version.hpp"
7#include "../platform/dynamic_shared_object.h"
Abstract class that represents a hardware backend.
Definition device_backend.hpp:34
virtual void enumerate_devices(std::vector< std::size_t > &ids) const =0
Enumerate available devices for this backend.
virtual std::shared_ptr< device > create_device(std::size_t id) const =0
Create a device handle for the given device identifier.
virtual bool get_device_properties(std::size_t id, device_properties &desc) const =0
Query the static properties of a device.
virtual std::string get_name() const =0
Get the name of the backend.
virtual version get_version() const =0
Get the version of the backend.
Description of the static characteristics of a physical device visible from the host.
Definition device_properties.hpp:27
Definition version.hpp:15
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
@ device
The memory resource can be optimally accessed by the device.