Cutlass CUDA Templates for Linear Algebra Subroutines and Solvers

Classes | Namespaces
tensor_view.h File Reference

Defines a structure containing strides and a pointer to tensor data. More...

`#include <cmath>`
`#include "cutlass/cutlass.h"`
`#include "cutlass/tensor_ref.h"`

Go to the source code of this file.

## Classes
class | cutlass::TensorView< Storage_, Rank_, MapFunc_, StorageRank_, Index_, LongIndex_ >
| Defines a view into a logical tensor. More...

## Namespaces
| cutlass

## Detailed Description

TensorView is derived from TensorRef and contributes bounds to the tensor's index space. Thus, it is a complete mathematical object and may be used in tensor algorithms. It is decoupled from data storage and is therefore lightweight and may be embedded in larger tensor objects or memory structures.

See cutlass/tensor_ref.h for more details about the mapping of the logical tensor index space to linear memory.