You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f5f6fef
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/parallel/amp/reference/tiled-index-class.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ The length of the least significant dimension.
93
93
94
94
Initializes a new instance of the `tiled_index` class.
95
95
96
-
## Syntax
96
+
### Syntax
97
97
98
98
```cpp
99
99
tiled_index(
@@ -107,7 +107,7 @@ tiled_index(
107
107
const tiled_index& _Other ) restrict(amp,cpu);
108
108
```
109
109
110
-
####Parameters
110
+
### Parameters
111
111
112
112
*_Global*<br/>
113
113
The global [index](index-class.md) of the constructed `tiled_index`.
@@ -127,7 +127,7 @@ The [tile_barrier](tile-barrier-class.md) object of the constructed `tiled_index
127
127
*_Other*<br/>
128
128
The `tile_index` object to be copied to the constructed `tiled_index`.
129
129
130
-
## Overloads
130
+
###Overloads
131
131
132
132
|||
133
133
|-|-|
@@ -139,21 +139,21 @@ The `tile_index` object to be copied to the constructed `tiled_index`.
139
139
140
140
Returns an [extent](extent-class.md) object that has the values of the `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
141
141
142
-
## Syntax
142
+
###Syntax
143
143
144
144
```cpp
145
145
extent<rank> get_tile_extent()restrict(amp,cpu);
146
146
```
147
147
148
-
## Return Value
148
+
### Return Value
149
149
150
150
An `extent` object that has the values of the `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
151
151
152
152
## <a name="tiled_index__barrier"></a> barrier
153
153
154
154
Stores a [tile_barrier](tile-barrier-class.md) object that represents a barrier in the current tile of threads.
155
155
156
-
## Syntax
156
+
### Syntax
157
157
158
158
```cpp
159
159
const tile_barrier barrier;
@@ -163,7 +163,7 @@ const tile_barrier barrier;
163
163
164
164
Stores an [index](index-class.md) object of rank 1, 2, or 3 that represents the global index of an object.
165
165
166
-
## Syntax
166
+
###Syntax
167
167
168
168
```cpp
169
169
const index<rank> global;
@@ -173,7 +173,7 @@ const index<rank> global;
173
173
174
174
Stores an [index](index-class.md) object of rank 1, 2, or 3 that represents the relative index in the current tile of a [tiled_extent](tiled-extent-class.md) object.
175
175
176
-
## Syntax
176
+
###Syntax
177
177
178
178
```cpp
179
179
const index<rank> local;
@@ -183,7 +183,7 @@ const index<rank> local;
183
183
184
184
Stores the rank of the `tiled_index` object.
185
185
186
-
## Syntax
186
+
###Syntax
187
187
188
188
```cpp
189
189
staticconstint rank = _Rank;
@@ -193,7 +193,7 @@ static const int rank = _Rank;
193
193
194
194
Stores an [index](index-class.md) object of rank 1, 2, or 3 that represents the coordinates of the current tile of a [tiled_extent](tiled-extent-class.md) object.
195
195
196
-
## Syntax
196
+
###Syntax
197
197
198
198
```cpp
199
199
const index<rank> tile;
@@ -203,7 +203,7 @@ const index<rank> tile;
203
203
204
204
Stores the length of the most significant dimension.
205
205
206
-
## Syntax
206
+
###Syntax
207
207
208
208
```cpp
209
209
staticconstint tile_dim0 = _Dim0;
@@ -213,7 +213,7 @@ static const int tile_dim0 = _Dim0;
213
213
214
214
Stores the length of the next-to-most significant dimension.
215
215
216
-
## Syntax
216
+
###Syntax
217
217
218
218
```cpp
219
219
staticconstint tile_dim1 = _Dim1;
@@ -223,7 +223,7 @@ static const int tile_dim1 = _Dim1;
223
223
224
224
Stores the length of the least significant dimension.
225
225
226
-
## Syntax
226
+
###Syntax
227
227
228
228
```cpp
229
229
staticconstint tile_dim2 = _Dim2;
@@ -233,16 +233,17 @@ static const int tile_dim2 = _Dim2;
233
233
234
234
Stores an [index](index-class.md) object of rank 1, 2, or 3 that represents the global coordinates of the origin of the current tile within a [tiled_extent](tiled-extent-class.md) object.
235
235
236
-
## Syntax
236
+
###Syntax
237
237
238
238
```cpp
239
239
const index<rank> tile_origin
240
240
```
241
241
242
242
## <aname="tile_extent"></a> tile_extent
243
-
Gets an [extent](extent-class.md) object that has the values of the `tiled_index` template arguments `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
244
243
245
-
## Syntax
244
+
Gets an [extent](extent-class.md) object that has the values of the `tiled_index` template arguments `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
0 commit comments