Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::HostReadableTensor Concept Reference

Tensor view supporting host read acquisition. More...

#include <access.hpp>

Concept definition

template<class Tensor>
concept uni20::HostReadableTensor = TensorView<Tensor> && requires(Tensor const& tensor) {
}
Read lease whose resolved mdspan is directly host-accessible.
Definition access.hpp:575
Tensor view supporting host read acquisition.
Definition access.hpp:719
Tensor-level object exposing readable multidimensional metadata and a backend selector.
Definition tensor/concepts.hpp:82
auto acquire_host_read_access_sync(Mdspan const &mdspan)
Acquire a directly host-accessible read-only mdspan.
Definition access.hpp:616
Tensor(InputTensor const &) -> Tensor< tensor_element_t< InputTensor >, tensor_mdspec_t< InputTensor >::rank(), HostStorage, detail::materialized_layout_t< void, tensor_mdspec_t< InputTensor > >, DefaultAccessorFactory >
Deduce a runtime-extents host tensor that materializes a tensor view.

Detailed Description

Tensor view supporting host read acquisition.