7#include "../DeviceView.hpp"
21 template <DeviceBackend B,
typename index_T, rowsize _row_size = 1, rowsize _row_max = _row_size, rowsize _align = NoAlign>
Non-owning row view for adjacency arrays.
Core type aliases, constants, and metaprogramming utilities for the DNDS framework.
#define DNDS_DEVICE_TRIVIAL_COPY_DEFINE(T, T_Self)
#define DNDS_DEVICE_CALLABLE
Device memory abstraction layer with backend-specific storage and factory creation.
Non-owning span (pointer, size) into an ArrayAdjacency row.
Device-callable adjacency view: extends ArrayDeviceView so that indexing into a row returns an Adjace...
DNDS_DEVICE_CALLABLE index_T * rowPtr(index i)
DNDS_DEVICE_CALLABLE AdjacencyRow< const index_T > operator[](index i) const
DNDS_DEVICE_CALLABLE AdjacencyRow< index_T > operator[](index i)
Non-owning device-callable view of an Array, specialised per DeviceBackend.
T * operator[](index iRow)
Raw row pointer. iRow == Size() is allowed for past-the-end queries (useful for computing buffer end ...
DNDS_DEVICE_CALLABLE rowsize RowSize() const
Uniform row width for fixed layouts (asserts otherwise).
the host side operators are provided as implemented
int64_t index
Global row / DOF index type (signed 64-bit; handles multi-billion-cell meshes).