A tiled_index is a set of indices of 1 to 3 dimensions which have been subdivided into 1-, 2-, or 3-dimensional tiles in a tiled_extent. It has three specialized forms: tiled_index<_Dim0>, tiled_index<_Dim0, _Dim1>, and tiled_index<_Dim0, _Dim1, _Dim2>, where _Dim0-2 specify the length of the tile along the each dimension, with _Dim0 being the most-significant dimension and _Dim2 being the least-significant.
More...
#include <amp.h>
|
| tiled_index (const index< rank > &_Global, const index< rank > &_Local, const index< rank > &_Tile, const index< rank > &_Tile_origin, const tile_barrier &_Barrier) __GPU |
| A Constructor that initializes data members using the given values. More...
|
|
| tiled_index (const tiled_index &_Other) __GPU |
| Copy Constructor. More...
|
|
| __declspec (property(get=get_tile_extent)) extent< rank > tile_extent |
| Returns an instance of an extent that captures the values of the tiled_index template arguments _Dim0, _Dim1, _Dim2 More...
|
|
extent< rank > | get_tile_extent () const __GPU |
|
| _CPP_AMP_VERIFY_RANK (_Rank, tiled_index) |
|
| _Tiled_index_base (const index< rank > &_Global, const index< rank > &_Local, const index< rank > &_Tile, const index< rank > &_Tile_origin, const tile_barrier &_Barrier) __GPU |
| A Constructor that initializes data members using the given values. More...
|
|
| _Tiled_index_base (const _Tiled_index_base &_Other) __GPU |
| Copy Constructor. More...
|
|
| operator const index< rank > () const __GPU |
| Implicit conversion operator that converts a tiled_index into an index. The implicit conversion converts to the .global index member. More...
|
|
|
const index< rank > | global |
| An index that represents the global index within an extent. More...
|
|
const index< rank > | local |
| An index that represents the relative index within the current tile of a tiled_extent. More...
|
|
const index< rank > | tile |
| An index that represents the coordinates of the current tile of a tiled_extent. More...
|
|
const index< rank > | tile_origin |
| An index that represents the global coordinates of the origin of the current tile within a tiled_extent. More...
|
|
const tile_barrier | barrier |
| An object which represents a barrier within the current tile of threads. More...
|
|
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
class Concurrency::tiled_index< _Dim0, _Dim1, _Dim2 >
A tiled_index is a set of indices of 1 to 3 dimensions which have been subdivided into 1-, 2-, or 3-dimensional tiles in a tiled_extent. It has three specialized forms: tiled_index<_Dim0>, tiled_index<_Dim0, _Dim1>, and tiled_index<_Dim0, _Dim1, _Dim2>, where _Dim0-2 specify the length of the tile along the each dimension, with _Dim0 being the most-significant dimension and _Dim2 being the least-significant.
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
A Constructor that initializes data members using the given values.
- Parameters
-
_Global | The global index to be copied from |
_Local | The local index to be copied from |
_Tile | The tile index to be copied from |
_Tile_origin | The tile origin to be copied from |
_Barrier | The barrier to be copied from |
_Tiled_index_base(const index< rank > &_Global, const index< rank > &_Local, const index< rank > &_Tile, const index< rank > &_Tile_origin, const tile_barrier &_Barrier) __GPU
A Constructor that initializes data members using the given values.
Definition: amp.h:1053
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
Copy Constructor.
- Parameters
-
_Other | The tile_index instance to be copied from . |
_Tiled_index_base(const index< rank > &_Global, const index< rank > &_Local, const index< rank > &_Tile, const index< rank > &_Tile_origin, const tile_barrier &_Barrier) __GPU
A Constructor that initializes data members using the given values.
Definition: amp.h:1053
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
Returns an instance of an extent that captures the values of the tiled_index template arguments _Dim0, _Dim1, _Dim2
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
Definition: type_traits:1045
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
These constants allow access to the template arguments of tiled_index.
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
template<int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
The documentation for this class was generated from the following file: