Share via


tiled_index::tiled_index Constructor

Initializes a new instance of the tiled_index class.

tiled_index(
   const index<rank>& _Global,
   const index<rank>& _Local,
   const index<rank>& _Tile,
   const index<rank>& _Tile_origin,
   const tile_barrier& _Barrier                     
) restrict(amp,cpu);
                     
tiled_index(
   const tiled_index& _Other                     
) restrict(amp,cpu);

Parameters

  • _Global
    The global index of the constructed tiled_index.

  • _Local
    The local index of the constructed tiled_index

  • _Tile
    The tile index of the constructed tiled_index

  • _Tile_origin
    The tile origin index of the constructed tiled_index

  • _Barrier
    The tile_barrier object of the constructed tiled_index.

  • _Other
    The tile_index object to be copied to the constructed tiled_index.

Overloads

Name

Description

tiled_index(const index<rank>& _Global, const index<rank>& _Local, const index<rank>& _Tile, const index<rank>& _Tile_origin, const tile_barrier& _Barrier restrict(amp,cpu);

Initializes a new instance of the tile_index class from the index of the tile in global coordinates and the relative position in the tile in local coordinates. The _Global and _Tile_origin parameters are computed.

tiled_index( const tiled_index& _Other) restrict(amp,cpu);

Initializes a new instance of the tile_index class by copying the specified tiled_index object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

tiled_index Class