extent Class (C++ AMP)
Represents a vector of N integer values that specify the bounds of an N-dimensional space that has an origin of 0. The values in the vector are ordered from most significant to least significant.
template <
int _Rank>
class extent;
Parameters
- _Rank
The rank of the extent object.
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the extent class. |
Public Methods
Name |
Description |
---|---|
Verifies that the specified extent object has the specified rank. |
|
Returns the total linear size of the extent (in units of elements). |
|
Produces a tiled_extent object with the tile extents given by specified dimensions. |
Public Operators
Name |
Description |
---|---|
Returns a new extent object that's created by subtracting the index elements from the corresponding extent elements. |
|
Decrements each element of the extent object. |
|
Calculates the modulus (remainder) of each element in the extent object when that element is divided by a number. |
|
Multiplies each element of the extent object by a number. |
|
Divides each element of the extent object by a number. |
|
Returns the element that's at the specified index. |
|
Returns a new extent object that's created by adding the corresponding index and extent elements. |
|
Increments each element of the extent object. |
|
Adds the specified number to each element of the extent object. |
|
Copies the contents of another extent object into this one. |
|
Subtracts the specified number from each element of the extent object. |
Public Constants
Name |
Description |
---|---|
Gets the rank of the extent object. |
Inheritance Hierarchy
extent
Requirements
Header: amp.h
Namespace: Concurrency