Skip to content

Commit eb65b85

Browse files
committed
Flatten diffs from the pre-Albuquerque paper
1 parent 8a31d7b commit eb65b85

File tree

4 files changed

+7
-56
lines changed

4 files changed

+7
-56
lines changed

algorithms.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ <h1>Effect of execution policies on algorithm execution</h1>
8888
incremented correctly.
8989
</cxx-example>
9090

91-
<ins>
9291
<p>
9392
The invocations of element access functions in parallel algorithms invoked with an
9493
execution policy of type <code>unsequenced_policy</code> are permitted to execute
@@ -106,9 +105,7 @@ <h1>Effect of execution policies on algorithm execution</h1>
106105
function executions do not interleave with one another.
107106
</cxx-note>
108107
</p>
109-
</ins>
110108

111-
<ins>
112109
<p>
113110
The invocations of element access functions in parallel algorithms invoked with an
114111
executino policy of type <code>vector_policy</code> are permitted to execute
@@ -117,7 +114,6 @@ <h1>Effect of execution policies on algorithm execution</h1>
117114
(<cxx-ref to="parallel.alg.general.wavefront"></cxx-ref>) for the last argument to
118115
<code>for_loop</code> or <code>for_loop_strided</code>.
119116
</p>
120-
</ins>
121117

122118
<p>
123119
The invocations of element access functions in parallel algorithms invoked with an execution
@@ -196,7 +192,6 @@ <h1>Effect of execution policies on algorithm execution</h1>
196192

197193
<cxx-section id="parallel.alg.general.wavefront">
198194
<h1>Wavefront Application</h1>
199-
<ins>
200195
<p>
201196
For the purposes of this section, an <i>evaluation</i> is a value computation or side effect of
202197
an expression, or an execution of a statement. Initialization of a temporary object is considered a
@@ -292,7 +287,6 @@ <h1>Wavefront Application</h1>
292287
The relationships between A<sub>i</sub> and B<sub>i</sub> and between A<sub>j</sub> and B<sub>j</sub> are <i>sequenced before</i>, not <i>vertical antecedent</i>.
293288
</cxx-note>
294289
</p>
295-
</ins>
296290
</cxx-section>
297291

298292
<cxx-section id="parallel.alg.overloads">
@@ -512,7 +506,7 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
512506
InputIterator first, Size n,
513507
Function f);
514508

515-
<ins>namespace execution {
509+
namespace execution {
516510
<cxx-ref insynopsis="" to="parallel.alg.novec"></cxx-ref>
517511
template&lt;class F&gt;
518512
auto no_vec(F&amp;&amp; f) noexcept -&gt; decltype(std::forward&lt;F&gt;(f)());
@@ -524,7 +518,7 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
524518
<cxx-ref insynopsis="" to="parallel.alg.ordupdate.func"></cxx-ref>
525519
template&lt;class T&gt;
526520
ordered_update_t&lt;T&gt; ordered_update(T&amp; ref) noexcept;
527-
}</ins>
521+
}
528522
}
529523
}
530524
}
@@ -637,7 +631,6 @@ <h1>For each</h1>
637631
<cxx-section id="parallel.alg.novec">
638632
<h1>No vec</h1>
639633

640-
<ins>
641634
<cxx-function>
642635
<cxx-signature>template&lt;class F&gt;
643636
auto no_vec(F&amp;&amp; f) noexcept -&gt; decltype(std::forward&lt;F&gt;(f)());</cxx-signature>
@@ -678,13 +671,11 @@ <h1>No vec</h1>
678671
</cxx-example>
679672
</cxx-notes>
680673
</cxx-function>
681-
</ins>
682674
</cxx-section>
683675

684676
<cxx-section id="parallel.alg.ordupdate.class">
685677
<h1>Ordered update class</h1>
686678

687-
<ins>
688679
<pre>
689680
class ordered_update_t {
690681
T&amp; ref_; // exposition only
@@ -752,12 +743,10 @@ <h1>Ordered update class</h1>
752743
value.
753744
</cxx-note>
754745
</p>
755-
</ins>
756746
</cxx-section>
757747

758748
<cxx-section id="parallel.alg.ordupdate.func">
759749
<h1>Ordered update function template</h1>
760-
<ins>
761750

762751
<cxx-function>
763752
<cxx-signature>template&lt;T&gt;
@@ -768,7 +757,6 @@ <h1>Ordered update function template</h1>
768757
<code>{ loc }</code>.
769758
</cxx-returns>
770759

771-
</ins>
772760
</cxx-section>
773761
</cxx-section>
774762

exceptions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>Exception reporting behavior</h1>
1414

1515
<ul>
1616
<li>
17-
If the execution policy object is of type <code><del>class </del>parallel_vector_execution_policy</code><ins>, <code>unsequenced_policy</code>, or <code>vector_policy</code></ins>,
17+
If the execution policy object is of type <code>parallel_vector_execution_policy</code>, <code>unsequenced_policy</code>, or <code>vector_policy</code>,
1818
<code>std::terminate</code> shall be called.
1919
</li>
2020
<li>

execution_policies.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ <h1>Header <code>&lt;experimental/execution_policy&gt;</code> synopsis</h1>
6969
<cxx-ref insynopsis="" to="parallel.execpol.dynamic"></cxx-ref>
7070
class execution_policy;
7171

72-
<ins>namespace execution {
72+
namespace execution {
7373
<cxx-ref insynopsis="" to="parallel.execpol.unseq"></cxx-ref>
74-
<ins>class unsequenced_policy;</ins>
74+
class unsequenced_policy;
7575

7676
<cxx-ref insynopsis="" to="parallel.execpol.vec"></cxx-ref>
77-
<ins>class vector_policy;</ins>
78-
}</ins>
77+
class vector_policy;
78+
}
7979
}
8080
}
8181
}
@@ -135,28 +135,24 @@ <h1>Parallel+Vector execution policy</h1>
135135

136136
<cxx-section id="parallel.execpol.unseq">
137137
<h1>Unsequenced execution policy</h1>
138-
<ins>
139138

140139
<pre>
141140
class unsequenced_policy{ <i>unspecified</i> };
142141
</pre>
143142

144143
<p>The class <code>unsequenced_policy</code> is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be vectorized, e.g., executed on a single thread using instructions that operate on multiple data items.</p>
145144

146-
</ins>
147145
</cxx-section>
148146

149147
<cxx-section id="parallel.execpol.vec">
150148
<h1>Vector execution policy</h1>
151-
<ins>
152149

153150
<pre>
154151
class vector_policy{ <i>unspecified</i> };
155152
</pre>
156153

157154
<p>The class <code>vector_policy</code> is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be vectorized. Additionally, such vectorization will result in an execution that respects the sequencing constraints of wavefront application ([parallel.alg.general.wavefront]). <cxx-note>The implementation thus makes stronger guarantees than for <code>unsequenced_policy</code>, for example.</cxx-note></p>
158155

159-
</ins>
160156
</cxx-section>
161157

162158
<cxx-section id="parallel.execpol.dynamic">

general.html

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -31,38 +31,6 @@ <h1>Namespaces and headers</h1>
3131
<h1>Feature-testing recommendations</h1>
3232
<p>An implementation that provides support for this Technical Specification shall define the feature test macro(s) in Table 1.</p>
3333

34-
<del>
35-
<table is="cxx-table" class="column-rules">
36-
<caption>Feature Test Macro(s)</caption>
37-
38-
<thead>
39-
<tr>
40-
<th>Name</th>
41-
<th>Value</th>
42-
<th>Header</th>
43-
</tr>
44-
<tr>
45-
<td><code>__cpp_lib_experimental_parallel_algorithm</code></td>
46-
<td>201505</td>
47-
<td>
48-
<code>&lt;experimental/algorithm&gt;</code><br>
49-
<code>&lt;experimental/exception_list&gt;</code><br>
50-
<code>&lt;experimental/execution_policy&gt;</code><br>
51-
<code>&lt;experimental/numeric&gt;</code>
52-
</td>
53-
</tr>
54-
<tr>
55-
<td><code>__cpp_lib_experimental_parallel_task_block</code></td>
56-
<td>201510</td>
57-
<td>
58-
<code>&lt;experimental/task_block&gt;</code><br>
59-
</td>
60-
</tr>
61-
</thead>
62-
</table>
63-
</del>
64-
65-
<ins>
6634
<table is="cxx-table" class="column-rules">
6735
<caption>Feature Test Macro(s)</caption>
6836

@@ -111,7 +79,6 @@ <h1>Feature-testing recommendations</h1>
11179
</tr>
11280
</thead>
11381
</table>
114-
<ins>
11582
</cxx-section>
11683
</cxx-clause>
11784

0 commit comments

Comments
 (0)