93 template<
class DefinitionT >
120 template<
class FieldT, std::u
int32_t FLAGS = 0 >
138 template<
class ItemT >
156 template<
typename IndexT >
214 template<
class ItemT >
232 template<
typename IndexT >
259 template<
class ItemT >
272 WArray2 (
int nRows,
int nColumns );
280 template<
typename IndexT >
286 template<
typename IndexT >
287 auto operator()( IndexT iRow, IndexT iCol )
const;
322 template<
class ItemT >
334 WArray3 (
int nl,
int nr,
int nc );
342 template<
typename IndexT >
348 template<
typename IndexT >
349 auto operator()(
const IndexT& iLayer,
const IndexT& iRow,
const IndexT& iCol )
const;
int cols() const
Returns CPU-level value equal to number of columns in the array.
Selects CPU version of the structure.
Definition: vppLangAggregates.hpp:44
Declares workgroup-scoped variable of two-dimensional array type.
Definition: vppLangAggregates.hpp:260
auto operator()(const IndexT &iLayer, const IndexT &iRow, const IndexT &iCol) const
Allows read/write access to elements of the array.
WArray(int s)
Constucts workgroup-scoped array of specified size.
Declares mutable shader local variable of array type.
Definition: vppLangAggregates.hpp:139
WArray3(int nl, int nr, int nc)
Constructs a shared 3-dimensional array with specified number of layers, rows and columns...
Int Size() const
Returns GPU-level value equal to the size of the array.
The VPP namespace.
Definition: main.hpp:1
ETag
Enumeration type allowing to select the flavor of shader structural type: the CPU or GPU version...
Definition: vppLangAggregates.hpp:41
Definition: vppLangAggregates.hpp:323
int size() const
Returns CPU-level value equal to number of rows in the array.
int size() const
Returns CPU-level value equal to the size of the array.
WArray2(int nRows, int nColumns)
Constructs a shared 2-dimensional array with specified number of rows and columns.
auto operator()(IndexT iRow, IndexT iCol) const
Allows read/write access to elements of the array.
int size() const
Returns CPU-level value equal to the size of the array.
Int Cols() const
Returns GPU-level value equal to number of columns in the array.
WArray2< ItemT > operator[](const IndexT &index) const
Allows read/write access to individual 2-dimensional layers of the array.
int rows() const
Returns CPU-level value equal to number of rows in the array.
Int Size() const
Returns GPU-level value equal to the size of the array.
Int Rows() const
Returns GPU-level value equal to number of rows in the array.
Internal use only.
Definition: vppLangAggregates.hpp:50
auto operator[](IndexT index) const
Allows read/write access to elements of the array.
WArray< ItemT > operator[](IndexT index) const
Allows read/write access to individual rows of the array.
Int Size() const
Returns GPU-level value equal to number of rows in the array.
Int Rows() const
Returns GPU-level value equal to number of rows in the array.
int cols() const
Returns CPU-level value equal to number of columns in the array.
int size() const
Returns CPU-level value equal to number of layers in the array.
Int Cols() const
Returns GPU-level value equal to number of columns in the array.
int rows() const
Returns CPU-level value equal to number of rows in the array.
Shader (GPU-side) data type for 32-bit signed integer values.
Definition: vppLangScalarTypes.hpp:162
VArray(int s)
Constucts local array of specified size.
Template for defining local structure data fields.
Definition: vppLangAggregates.hpp:121
Int Size() const
Returns GPU-level value equal to number of layers in the array.
int layers() const
Returns CPU-level value equal to number of layers in the array.
Base class for local data structures.
Definition: vppLangAggregates.hpp:94
auto operator[](IndexT index) const
Allows read/write access to elements of the array.
Selects GPU version of the structure.
Definition: vppLangAggregates.hpp:47
Declares workgroup-scoped variable of array type.
Definition: vppLangAggregates.hpp:215
Int Layers() const
Returns GPU-level value equal to number of layers in the array.