Template Struct TensorTraits< Tensor< T, Dimensions > >¶
Defined in File tensor_traits.hpp
Struct Documentation¶
-
template<typename
T
, size_tDimensions
>
structripple
::
TensorTraits
<Tensor<T, Dimensions>>¶ Tensor traits for a Tensor with data type T and Dims dimensions.
This specialization is for tensor types.
- Template Parameters
T
: The type of the tensor data.Dimensions
: The number of dimensions for the tensor.
Public Types
-
using
Iterator
= typename Block<T, Dimensions>::Iterator¶ Defines the type of the iterator over the tensor in global memory.
Defines the type of the iterator over the tensor in shared memory.
Public Static Attributes
-
constexpr size_t
dimensions
= Dimensions¶ Returns the number of dimensions for the tensor.