Skip to content

Commit 0444d75

Browse files
committed
Merge pull request #29 from jaredhoberock/master
Highlight a couple of renames of vec->par_vec that got lost
2 parents 9dc70ab + aff0622 commit 0444d75

File tree

4 files changed

+48
-24
lines changed

4 files changed

+48
-24
lines changed

Diff for: algorithms.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h1>Effect of execution policies on algorithm execution</h1>
139139
int x<ins>=0</ins>;
140140
std::mutex m;
141141
int a[] = {1,2};
142-
for_each(par_vec, std::begin(a), std::end(a), [&amp;](int) {
142+
for_each(<del>vec</del><ins>par_vec</ins>, std::begin(a), std::end(a), [&amp;](int) {
143143
m.lock();
144144
++x;
145145
m.unlock();

Diff for: execution_policies.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h1>In general</h1>
3232
sort(par, v.begin(), v.end());
3333

3434
// permitting vectorization as well
35-
sort(par_vec, v.begin(), v.end());
35+
sort(<del>vec</del><ins>par_vec</ins>, v.begin(), v.end());
3636

3737
// sort with dynamically-selected execution
3838
size_t threshold = ...

Diff for: parallelism-ts.html

+46-22
Original file line numberDiff line numberDiff line change
@@ -364,15 +364,31 @@
364364
position: relative;
365365
}
366366

367-
cxx-titlepage table {
367+
cxx-titlepage table.draft_header {
368368
position: absolute; right: 0px; top: 0px;
369369
}
370370

371-
cxx-titlepage h1 {
371+
cxx-titlepage table.pdts_header {
372+
position: absolute; right: 0px; top: 0px;
373+
}
374+
375+
cxx-titlepage table.pdts_footer {
376+
position: absolute; left: 0px; bottom: 5%;
377+
}
378+
379+
cxx-titlepage table.pdts_warning {
380+
position: absolute; bottom: 20%;
381+
}
382+
383+
cxx-titlepage h1.draft_title {
372384
position: absolute; top: 40%;
373385
}
374386

375-
cxx-titlepage p.warning {
387+
cxx-titlepage h1.pdts_title {
388+
position: absolute; top: 30%;
389+
}
390+
391+
cxx-titlepage p.draft_warning {
376392
position: absolute; bottom: 5%;
377393
}
378394

@@ -560,34 +576,42 @@
560576
cxx-toc a[href]::after { content: leader(" . ") target-counter(attr(href), page); }
561577

562578
cxx-footnote aside { float: footnote; footnote-policy: line; }
563-
}</style><title>Technical Specification for C++ Extensions for Parallelism, Working Draft</title></head>
579+
}</style><title>Technical Specification for C++ Extensions for Parallelism, Working Draft, </title></head>
564580
<body>
565581

566582
<cxx-titlepage stage="draft">
567583

568-
<table>
569-
570-
<tbody><tr><th>Document Number:</th><td><cxx-docnum>N4104</cxx-docnum></td></tr>
571-
572-
573-
<tr><th>Date:</th><td><time pubdate="">2014-07-04</time></td></tr>
574-
575-
576-
<tr><th>Revises:</th><td><cxx-revises><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3960.pdf">N3960</a></cxx-revises></td></tr>
577-
578-
579-
<tr><th>Editor:</th><td><cxx-editor>
584+
585+
<table class="draft_header">
586+
587+
<tbody><tr><th>Document Number:</th><td><cxx-docnum>N4104</cxx-docnum></td></tr>
588+
589+
590+
<tr><th>Date:</th><td><time pubdate="">2014-07-04</time></td></tr>
591+
592+
593+
<tr><th>Revises:</th><td><cxx-revises><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3960.pdf">N3960</a></cxx-revises></td></tr>
594+
595+
596+
<tr><th>Editor:</th><td><cxx-editor>
580597
Jared Hoberock<br>
581598
NVIDIA Corporation<br>
582599
<cxx-email><a href="mailto:[email protected]">[email protected]</a></cxx-email>
583600
</cxx-editor></td></tr>
584-
585-
</tbody></table>
586-
<h1>Working Draft, Technical Specification for C++ Extensions for Parallelism</h1>
601+
602+
</tbody></table>
603+
604+
605+
606+
<h1 class="draft_title">Working Draft, Technical Specification for C++ Extensions for Parallelism</h1>
587607

588-
<p class="warning"><strong>Note: this is an early draft. It’s known to be
608+
609+
610+
611+
<p class="draft_warning"><strong>Note: this is an early draft. It’s known to be
589612
incomplet and incorrekt, and it has lots of b<span style="margin-left: -1.2pt; margin-right: 1pt">a</span>d<span style="width:1.5em"> </span>for<span style="margin-left:-3pt; margin-right:0.6pt">mat</span>ti<span style="position:relative; top:-0.15ex">n</span>g.</strong></p>
590613

614+
591615
</cxx-titlepage>
592616

593617
<cxx-toc>
@@ -987,7 +1011,7 @@ <h1>Contents</h1>
9871011
sort(par, v.begin(), v.end());
9881012

9891013
// permitting vectorization as well
990-
sort(par_vec, v.begin(), v.end());
1014+
sort(<del>vec</del><ins>par_vec</ins>, v.begin(), v.end());
9911015

9921016
// sort with dynamically-selected execution
9931017
size_t threshold = ...
@@ -1815,7 +1839,7 @@ <h1>Contents</h1>
18151839
int x<ins>=0</ins>;
18161840
std::mutex m;
18171841
int a[] = {1,2};
1818-
for_each(par_vec, std::begin(a), std::end(a), [&amp;](int) {
1842+
for_each(<del>vec</del><ins>par_vec</ins>, std::begin(a), std::end(a), [&amp;](int) {
18191843
m.lock();
18201844
++x;
18211845
m.unlock();

Diff for: parallelism-ts.pdf

111 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)