template<typename T>
struct batchlas::Vector< T >
Owning batch of batch_size() vectors of length size() in USM shared memory.
Element i of item b lives at data()[b * stride() + i * inc()]. The default stride is size() * inc() (items back to back). A Vector is a VectorView of its own storage, so it is accepted wherever a VectorView is.
- Trap
- The constructor takes (size, batch_size, Stride, Inc) while VectorView's positional constructor takes (data, size, batch_size, inc, stride); the tag types and the deleted bare-int overloads keep the two from being transliterated.
- See also
- Matrix model: vectors, inc and stride
Definition at line 1963 of file matrix.hh.