5#include "../platform/dynamic_shared_object.h"
16class array_descriptor;
17class access_hazard_tracker;
18class array_implementation;
Tracks the commands that access a piece of memory.
Definition access_hazard_tracker.hpp:29
Description of the memory representation of a multidimensional array.
Definition array_descriptor.hpp:22
Container for multidimensional numeric data.
Definition array.hpp:31
Represents an untyped memory allocation at a given memory resource.
Definition buffer.hpp:25
Read-only view into an array.
Definition const_array.hpp:29
access_hazard_tracker * get_access_hazard_tracker() const noexcept
Get the tracker of the commands that access the memory of this array.
const_array(std::shared_ptr< const array_implementation > implementation) noexcept
Construct a const_array from a shared pointer to the implementation.
const array_implementation * get_implementation() const noexcept
Get a pointer to the implementation.
const_array share() const noexcept
Obtain an alias for this array.
const array_descriptor & get_descriptor() const noexcept
Get the descriptor of this array.
std::shared_ptr< const buffer > share_storage() const noexcept
Get the storage of this const_array.
const buffer * get_storage() const noexcept
Get the storage of this array.
const_array()
Construct an uninitialized array view.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10