次の方法で共有


tiled_extent クラス

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 コンストラクター

tiled_extent クラスの新しいインスタンスを初期化します。

パブリック メソッド

名前

説明

tiled_extent::get_tile_extent メソッド

tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを返します。

tiled_extent::pad メソッド

タイルの次元によって均等に分割できる範囲を上方調整した新しい tiled_extent オブジェクトを返します。

tiled_extent::truncate メソッド

タイルの次元によって均等に分割できるように範囲を下方調整した新しい tiled_extent オブジェクトを返します。

パブリック演算子

名前

説明

tiled_extent::operator= 演算子

指定された tiled_index オブジェクトの内容をこのオブジェクトにコピーします。

パブリック定数

名前

説明

tiled_extent::tile_dim0 定数

最上位の次元の長さを格納します。

tiled_extent::tile_dim1 定数

最上位の次の次元の長さを格納します。

tiled_extent::tile_dim2 定数

最下位の次元の長さを格納します。

パブリック データ メンバー

名前

説明

tiled_extent::tile_extent データ メンバー

tiled_extent テンプレート引数 _Dim0、_Dim1、および _Dim2 の値をキャプチャする extent オブジェクトを取得します。

継承階層

extent

tiled_extent

必要条件

ヘッダー: amp.h

名前空間: Concurrency

参照

関連項目

Concurrency 名前空間 (C++ AMP)