Share via


tiled_extent Class

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>;

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

tiled_extent::tiled_extent Constructor

Initializes a new instance of the tiled_extent class.

Public Methods

Name

Description

tiled_extent::get_tile_extent Method

Returns an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2.

tiled_extent::pad Method

Returns a new tiled_extent object with extents adjusted up to be evenly divisible by the tile dimensions.

tiled_extent::truncate Method

Returns a new tiled_extent object with extents adjusted down to be evenly divisible by the tile dimensions.

Public Operators

Name

Description

tiled_extent::operator= Operator

Copies the contents of the specified tiled_index object into this one

Public Constants

Name

Description

tiled_extent::tile_dim0 Constant

Stores the length of the most significant dimension.

tiled_extent::tile_dim1 Constant

Stores the length of the next-to-most significant dimension.

tiled_extent::tile_dim2 Constant

Stores the length of the least significant dimension.

Public Data Members

Name

Description

tiled_extent::tile_extent Data Member

Gets an extent object that captures the values of the tiled_extent template arguments _Dim0, _Dim1, and _Dim2.

Inheritance Hierarchy

extent

tiled_extent

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)