|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Non-owning device-callable view {pointer, size} over a typed array.
More...
#include <Vector.hpp>
Public Member Functions | |
| DNDS_DEVICE_CALLABLE | vector_DeviceView (T *n_data, TSize n_size) |
| DNDS_DEVICE_CALLABLE T | operator[] (TSize i) const |
| DNDS_DEVICE_CALLABLE T & | operator[] (TSize i) |
| DNDS_DEVICE_CALLABLE TSize | size () const |
Non-owning device-callable view {pointer, size} over a typed array.
Analogue of std::span<T> that compiles inside __device__ code. Constant copy semantics (trivially copyable); must not outlive its backing storage.
Definition at line 147 of file Vector.hpp.
|
inline |
Definition at line 157 of file Vector.hpp.
|
inline |
Definition at line 164 of file Vector.hpp.
|
inline |
Definition at line 159 of file Vector.hpp.
|
inline |
Definition at line 169 of file Vector.hpp.