tiled_index Class
Provides an index into a tiled_extent object. This class has properties to access elements relative to the local tile origin and relative to the global origin. For more information about tiled spaces, see Using Tiles.
template <
int _Dim0,
int _Dim1 = 0,
int _Dim2 = 0
>
class tiled_index : public _Tiled_index_base<3>;
template <
int _Dim0,
int _Dim1
>
class tiled_index<_Dim0, _Dim1, 0> : public _Tiled_index_base<2>;
template <
int _Dim0
>
class tiled_index<_Dim0, 0, 0> : public _Tiled_index_base<1>;
Parameters
_Dim0
The length of the most significant dimension._Dim1
The length of the next-to-most significant dimension._Dim2
The length of the least significant dimension.
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the tile_index class. |
Public Methods
Name |
Description |
---|---|
Returns an extent object that has the values of the tiled_index template arguments _Dim0, _Dim1, and _Dim2. |
Public Constants
Name |
Description |
---|---|
Stores a tile_barrier object that represents a barrier in the current tile of threads. |
|
Stores an index object of rank 1, 2, or 3 that represents the global index in a grid object. |
|
Stores an index object of rank 1, 2, or 3 that represents the relative index in the current tile of a tiled_extent object. |
|
Stores the rank of the tiled_index object. |
|
Stores an index object of rank 1, 2, or 3 that represents the coordinates of the current tile of a tiled_extent object. |
|
Stores the length of the most significant dimension. |
|
Stores the length of the next-to-most significant dimension. |
|
Stores the length of the least significant dimension. |
|
Stores an index object of rank 1, 2, or 3 that represents the global coordinates of the origin of the current tile in a tiled_extent object. |
Public Data Members
Name |
Description |
---|---|
Gets an extent object that has the values of the tiled_index template arguments tiled_index template arguments _Dim0, _Dim1, and _Dim2. |
Inheritance Hierarchy
_Tiled_index_base
tiled_index
Requirements
Header: amp.h
Namespace: Concurrency