Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
generated_accessor.hpp File Reference

Read-only mdspan accessor for values generated from logical indices. More...

#include <uni20/core/compiler_attributes.hpp>
#include <uni20/mdspan/concepts.hpp>
#include <array>
#include <cstddef>
#include <type_traits>
#include <utility>
Include dependency graph for generated_accessor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uni20::generated_accessor< ElementType, Extents, Generator >
 Accessor that evaluates a generator at the logical index encoded by an offset. More...
 
struct  uni20::generated_data_handle
 Compact mdspan handle identifying a base offset in a generated value sequence. More...
 

Namespaces

namespace  uni20
 

Variables

template<class ElementType , class Extents , class Generator >
constexpr bool uni20::enable_accessor_in_domain< generated_accessor< ElementType, Extents, Generator >, cuda_access_domain > = true
 
template<class ElementType , class Extents , class Generator >
constexpr bool uni20::enable_accessor_in_domain< generated_accessor< ElementType, Extents, Generator >, host_access_domain > = true
 Generated accessors are semantically valid in either execution domain.
 

Detailed Description

Read-only mdspan accessor for values generated from logical indices.