Represents a contiguous strip of memory. A row in a row-major matrix, perhaps. More...
#include <Indexers.hpp>
Public Member Functions | |
__device__ int | end () |
The position in the final dimension of the first element past the end of the strip's vectorisable region. More... | |
__device__ int | fullLength () |
Length, including nonvectorisable parts. More... | |
Public Attributes | |
sp::Vec< int, Rank > | pos |
The coordinates of the first element of the strip in the Tensor it is part of. More... | |
int | length |
sp::AlignmentFallout | fallout |
The amount that has been sliced off either end of the strip to make it meet alignment requirements. More... | |
Represents a contiguous strip of memory. A row in a row-major matrix, perhaps.
__device__ int sp::Strip< Rank >::end | ( | ) |
The position in the final dimension of the first element past the end of the strip's vectorisable region.
__device__ int sp::Strip< Rank >::fullLength | ( | ) |
Length, including nonvectorisable parts.
sp::AlignmentFallout sp::Strip< Rank >::fallout |
The amount that has been sliced off either end of the strip to make it meet alignment requirements.