Expand description
view parameterization code
This module contains all code used to parameterize views. Some parameters are direct Kokkos replicates while others are Rust-specific. Currently supported parameters include:
- Type of the data owned by the view (Rust-specific)
- Memory layout
Possible future implementations include:
- Memory space
- Memory traits
Enums§
- Data
Type - Enum used to identify the type of data the view is holding.
- Layout
- Enum used to represent data layout. Struct enums is used in order to increase readability.
Constants§
- MAX_
VIEW_ DEPTH - Maximum possible depth (i.e. number of dimensions) for a view.
Traits§
- Data
Traits - Supertrait with common trait that elements of a View should implement.
Functions§
- compute_
stride - Compute correct strides of each index using dimensions and specified layout.
Type Aliases§
- Inner
Data Type - Generic alias for elements of type
T
of a View.