| description | Learn more about: tiled_extent Class | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| title | tiled_extent Class | ||||||||||
| ms.date | 11/04/2016 | ||||||||||
| f1_keywords |
|
||||||||||
| ms.assetid | 671ecaf8-c7b0-4ac8-bbdc-e30bd92da7c0 |
A tiled_extent object is an extent object of one to three dimensions that subdivides the extent space into one-, two-, or three-dimensional tiles.
template <
int _Dim0,
int _Dim1,
int _Dim2
>
class tiled_extent : public Concurrency::extent<3>;
template <
int _Dim0,
int _Dim1
>
class tiled_extent<_Dim0, _Dim1, 0> : public Concurrency::extent<2>;
template <
int _Dim0
>
class tiled_extent<_Dim0, 0, 0> : public Concurrency::extent<1>;_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.
| Name | Description |
|---|---|
| tiled_extent Constructor | Initializes a new instance of the tiled_extent class. |
| Name | Description |
|---|---|
| get_tile_extent | Returns an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2. |
| pad | Returns a new tiled_extent object with extents adjusted up to be evenly divisible by the tile dimensions. |
| truncate | Returns a new tiled_extent object with extents adjusted down to be evenly divisible by the tile dimensions. |
| Name | Description |
|---|---|
| operator= | Copies the contents of the specified tiled_index object into this one. |
| Name | Description |
|---|---|
| tile_dim0 Constant | Stores the length of the most significant dimension. |
| tile_dim1 Constant | Stores the length of the next-to-most significant dimension. |
| tile_dim2 Constant | Stores the length of the least significant dimension. |
| Name | Description |
|---|---|
| tile_extent | Gets an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2. |
extent
tiled_extent
Header: amp.h
Namespace: Concurrency
Initializes a new instance of the tiled_extent class.
tiled_extent();
tiled_extent(
const Concurrency::extent<rank>& _Other );
tiled_extent(
const tiled_extent& _Other );_Other
The extent or tiled_extent object to copy.
Returns an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2.
Concurrency::extent<rank> get_tile_extent() const restrict(amp,cpu);An extent object that captures the dimensions of this tiled_extent instance.
Returns a new tiled_extent object with extents adjusted up to be evenly divisible by the tile dimensions.
tiled_extent pad() const;The new tiled_extent object, by value.
Returns a new tiled_extent object with extents adjusted down to be evenly divisible by the tile dimensions.
tiled_extent truncate() const;Returns a new tiled_extent object with extents adjusted down to be evenly divisible by the tile dimensions.
Copies the contents of the specified tiled_index object into this one.
tiled_extent& operator= (
const tiled_extent& _Other ) restrict (amp, cpu);_Other
The tiled_index object to copy from.
A reference to this tiled_index instance.
Stores the length of the most significant dimension.
static const int tile_dim0 = _Dim0;Stores the length of the next-to-most significant dimension.
static const int tile_dim1 = _Dim1;Stores the length of the least significant dimension.
static const int tile_dim2 = _Dim2;Gets an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2.
__declspec(property(get= get_tile_extent)) Concurrency::extent<rank> tile_extent;