5#include <rexlib/core/ndarray/array_descriptor.hpp>
7#include <rexlib/core/hardware/memory_resource.hpp>
8#include <rexlib/core/platform/dynamic_shared_object.h>
72 friend bool operator==(
82 friend bool operator!=(
96 std::size_t
hash() const noexcept;
Description of the memory representation of a multidimensional array.
Definition array_descriptor.hpp:22
Non-owning read-only reference to an array.
Definition const_array_ref.hpp:36
Abstract description of a physical memory region.
Definition memory_resource.hpp:21
Logical representation of an operand's properties.
Definition operand_descriptor.hpp:29
void set_array_descriptor(const array_descriptor &descriptor) noexcept
Set the array descriptor.
const strided_layout & get_layout() const noexcept
Get the in memory layout of the data.
const memory_resource * get_memory_resource() const noexcept
Get the memory resource.
std::size_t hash() const noexcept
Get the hash value for this object.
numerical_type get_data_type() const noexcept
Get the data type of the elements.
static operand_descriptor from_array(const_array_ref a) noexcept
Construct an operand descriptor from an existing array.
void set_memory_resource(const memory_resource *resource) noexcept
Set the memory resource.
const array_descriptor & get_array_descriptor() const noexcept
Get the array descriptor.
Definition strided_layout.hpp:21
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
numerical_type
Representation of all considered numerical types for computations.
Definition numerical_type.hpp:19