Skip to content

Commit f9d8e17

Browse files
authored
Merge pull request #2673 from corob-msft/cr-mdlint-parallel
Bulk fix markdown issues in remaining Parallel articles
2 parents 5623403 + 43d7486 commit f9d8e17

File tree

182 files changed

+2057
-2072
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+2057
-2072
lines changed

docs/parallel/amp/reference/concurrency-fast-math-namespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Functions in the `fast_math` namespace have lower accuracy, support only single-
1010

1111
## Syntax
1212

13-
```
13+
```cpp
1414
namespace fast_math;
1515
```
1616

docs/parallel/amp/reference/concurrency-graphics-direct3d-namespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Provides the [get_texture](concurrency-graphics-direct3d-namespace-functions.md#
1010

1111
## Syntax
1212

13-
```
13+
```cpp
1414
namespace direct3d;
1515
```
1616

docs/parallel/amp/reference/concurrency-graphics-namespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The graphics namespace provides types and functions that are designed for graphi
1010

1111
## Syntax
1212

13-
```
13+
```cpp
1414
namespace graphics;
1515
```
1616

docs/parallel/amp/reference/concurrency-namespace-cpp-amp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Provides classes and functions that accelerate the execution of C++ code on data
1111

1212
## Syntax
1313

14-
```
14+
```cpp
1515
namespace Concurrency;
1616
```
1717

docs/parallel/amp/reference/double-4-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class double_4;
331331

332332
**Namespace:** Concurrency::graphics
333333

334-
## <a name="ctor"></a> double_4
334+
## <a name="ctor"></a> double_4
335335

336336
Default constructor, initializes all elements with 0.
337337

@@ -395,7 +395,7 @@ The value for initialization.
395395
*_Other*<br/>
396396
The object used to initialize.
397397
398-
## <a name="double_4__size"></a> size
398+
## <a name="double_4__size"></a> size
399399
400400
```cpp
401401
static const int size = 4;

docs/parallel/amp/reference/float-4-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Represents a short vector of four floats.
1010

1111
## Syntax
1212

13-
```
13+
```cpp
1414
class float_4;
1515
```
1616

@@ -331,11 +331,11 @@ class float_4;
331331

332332
**Namespace:** Concurrency::graphics
333333

334-
## <a name="ctor"></a> float_4
334+
## <a name="ctor"></a> float_4
335335

336336
Default constructor, initializes all elements with 0.
337337

338-
```
338+
```cpp
339339
float_4() restrict(amp,
340340
cpu);
341341

@@ -395,9 +395,9 @@ The value for initialization.
395395
*_Other*<br/>
396396
The object used to initialize.
397397
398-
## <a name="float_4__size"></a> size
398+
## <a name="float_4__size"></a> size
399399
400-
```
400+
```cpp
401401
static const int size = 4;
402402
```
403403

docs/parallel/amp/reference/norm-3-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class norm_3;
137137

138138
Default constructor, initializes all elements with 0.
139139

140-
## Syntax
140+
### Syntax
141141

142142
```cpp
143143
norm_3() restrict(amp,cpu);
@@ -182,7 +182,7 @@ explicit inline norm_3(
182182
) restrict(amp,cpu);
183183
```
184184
185-
#### Parameters
185+
### Parameters
186186
187187
*_V0*<br/>
188188
The value to initialize element 0.

docs/parallel/amp/reference/tiled-index-class.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The length of the least significant dimension.
9393
9494
Initializes a new instance of the `tiled_index` class.
9595
96-
## Syntax
96+
### Syntax
9797
9898
```cpp
9999
tiled_index(
@@ -107,7 +107,7 @@ tiled_index(
107107
const tiled_index& _Other ) restrict(amp,cpu);
108108
```
109109

110-
#### Parameters
110+
### Parameters
111111

112112
*_Global*<br/>
113113
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
127127
*_Other*<br/>
128128
The `tile_index` object to be copied to the constructed `tiled_index`.
129129

130-
## Overloads
130+
### Overloads
131131

132132
|||
133133
|-|-|
@@ -139,21 +139,21 @@ The `tile_index` object to be copied to the constructed `tiled_index`.
139139

140140
Returns an [extent](extent-class.md) object that has the values of the `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
141141

142-
## Syntax
142+
### Syntax
143143

144144
```cpp
145145
extent<rank> get_tile_extent()restrict(amp,cpu);
146146
```
147147
148-
## Return Value
148+
### Return Value
149149
150150
An `extent` object that has the values of the `tiled_index` template arguments `_Dim0`, `_Dim1`, and `_Dim2`.
151151
152152
## <a name="tiled_index__barrier"></a> barrier
153153
154154
Stores a [tile_barrier](tile-barrier-class.md) object that represents a barrier in the current tile of threads.
155155
156-
## Syntax
156+
### Syntax
157157
158158
```cpp
159159
const tile_barrier barrier;
@@ -163,7 +163,7 @@ const tile_barrier barrier;
163163

164164
Stores an [index](index-class.md) object of rank 1, 2, or 3 that represents the global index of an object.
165165

166-
## Syntax
166+
### Syntax
167167

168168
```cpp
169169
const index<rank> global;
@@ -173,7 +173,7 @@ const index<rank> global;
173173

174174
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.
175175

176-
## Syntax
176+
### Syntax
177177

178178
```cpp
179179
const index<rank> local;
@@ -183,7 +183,7 @@ const index<rank> local;
183183

184184
Stores the rank of the `tiled_index` object.
185185

186-
## Syntax
186+
### Syntax
187187

188188
```cpp
189189
static const int rank = _Rank;
@@ -193,7 +193,7 @@ static const int rank = _Rank;
193193

194194
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.
195195

196-
## Syntax
196+
### Syntax
197197

198198
```cpp
199199
const index<rank> tile;
@@ -203,7 +203,7 @@ const index<rank> tile;
203203

204204
Stores the length of the most significant dimension.
205205

206-
## Syntax
206+
### Syntax
207207

208208
```cpp
209209
static const int tile_dim0 = _Dim0;
@@ -213,7 +213,7 @@ static const int tile_dim0 = _Dim0;
213213

214214
Stores the length of the next-to-most significant dimension.
215215

216-
## Syntax
216+
### Syntax
217217

218218
```cpp
219219
static const int tile_dim1 = _Dim1;
@@ -223,7 +223,7 @@ static const int tile_dim1 = _Dim1;
223223

224224
Stores the length of the least significant dimension.
225225

226-
## Syntax
226+
### Syntax
227227

228228
```cpp
229229
static const int tile_dim2 = _Dim2;
@@ -233,16 +233,17 @@ static const int tile_dim2 = _Dim2;
233233

234234
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.
235235

236-
## Syntax
236+
### Syntax
237237

238238
```cpp
239239
const index<rank> tile_origin
240240
```
241241

242242
## <a name="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`.
244243

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`.
245+
246+
### Syntax
246247

247248
```cpp
248249
__declspec(property(get= get_tile_extent)) extent<rank> tile_extent;

docs/parallel/amp/reference/uint-4-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ explicit inline uint_4(
368368
) restrict(amp,cpu);
369369
```
370370
371-
#### Parameters
371+
### Parameters
372372
373373
*_V0*<br/>
374374
The value to initialize element 0.

docs/parallel/amp/reference/unorm-4-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Represents a short vector of four unsigned normal numbers.
1010

1111
## Syntax
1212

13-
```
13+
```cpp
1414
class unorm_4;
1515
```
1616

@@ -331,11 +331,11 @@ class unorm_4;
331331

332332
**Namespace:** Concurrency::graphics
333333

334-
## <a name="ctor"></a> unorm_4
334+
## <a name="ctor"></a> unorm_4
335335

336336
Default constructor, initializes all elements with 0.
337337

338-
```
338+
```cpp
339339
unorm_4() restrict(amp,
340340
cpu);
341341

@@ -406,9 +406,9 @@ The value for initialization.
406406
*_Other*<br/>
407407
The object used to initialize.
408408
409-
## <a name="unorm_4__size"></a> size
409+
## <a name="unorm_4__size"></a> size
410410
411-
```
411+
```cpp
412412
static const int size = 4;
413413
```
414414

0 commit comments

Comments
 (0)