tiled_extent オブジェクトは 3 つの次元のいずれかの extent オブジェクトであり、範囲空間を 1、2、または 3 次元のタイルに再分割します。
構文
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
最上位の次元の長さ。
_Dim1
最上位の次の次元の長さ。
_Dim2
最下位の次元の長さ。
メンバー
パブリック コンストラクター
| 名前 | 説明 |
|---|---|
| tiled_extent コンストラクター | tiled_extent クラスの新しいインスタンスを初期化します。 |
パブリック メソッド
| 名前 | 説明 |
|---|---|
| get_tile_extent | tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを返します。 |
| pad | タイルの次元によって均等に分割できる範囲を上方調整した新しい tiled_extent オブジェクトを返します。 |
| truncate | タイルの次元によって均等に分割できるように範囲を下方調整した新しい tiled_extent オブジェクトを返します。 |
パブリック演算子
| 名前 | 説明 |
|---|---|
| operator= | 指定された tiled_index オブジェクトの内容をこのオブジェクトにコピーします。 |
パブリック定数
| 名前 | 説明 |
|---|---|
| tile_dim0 定数 | 最上位の次元の長さを格納します。 |
| tile_dim1 定数 | 最上位の次の次元の長さを格納します。 |
| tile_dim2 定数 | 最下位の次元の長さを格納します。 |
パブリック データ メンバー
| 名前 | 説明 |
|---|---|
| tile_extent | tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを取得します。 |
継承階層
extent
tiled_extent
要件
ヘッダー: amp.h
名前空間: Concurrency
tiled_extent コンストラクター
tiled_extent クラスの新しいインスタンスを初期化します。
構文
tiled_extent();
tiled_extent(
const Concurrency::extent<rank>& _Other );
tiled_extent(
const tiled_extent& _Other );
パラメーター
_Other
コピーする extent オブジェクトまたは tiled_extent オブジェクト。
get_tile_extent
tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを返します。
構文
Concurrency::extent<rank> get_tile_extent() const restrict(amp,cpu);
戻り値
この extent インスタンスの次元をキャプチャする tiled_extent オブジェクト。
pad
タイルの次元によって均等に分割できる範囲を上方調整した新しい tiled_extent オブジェクトを返します。
構文
tiled_extent pad() const;
戻り値
新しい tiled_extent オブジェクト、値渡し。
truncate
タイルの次元によって均等に分割できるように範囲を下方調整した新しい tiled_extent オブジェクトを返します。
構文
tiled_extent truncate() const;
戻り値
タイルの次元によって均等に分割できるように範囲を下方調整した新しい tiled_extent オブジェクトを返します。
operator=
指定された tiled_index オブジェクトの内容をこのオブジェクトにコピーします。
構文
tiled_extent& operator= (
const tiled_extent& _Other ) restrict (amp, cpu);
パラメーター
_Other
コピー元の tiled_index オブジェクト。
戻り値
この tiled_index インスタンスへの参照。
tile_dim0
最上位の次元の長さを格納します。
構文
static const int tile_dim0 = _Dim0;
tile_dim1
最上位の次の次元の長さを格納します。
構文
static const int tile_dim1 = _Dim1;
tile_dim2
最下位の次元の長さを格納します。
構文
static const int tile_dim2 = _Dim2;
tile_extent
tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを取得します。
構文
__declspec(property(get= get_tile_extent)) Concurrency::extent<rank> tile_extent;