Skip to content

Commit ec3e22c

Browse files
committed
N2170: updated with feedback from Toronto meeting
1 parent 002e2dc commit ec3e22c

File tree

2 files changed

+53
-33
lines changed

2 files changed

+53
-33
lines changed

cplexts.tex

+27-33
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545

4646
% These parameters, and the documentclass options,
4747
% are about document identification and overall formatting.
48-
\docdate{2016}{03}{10}
49-
\newcommand{\wgdocno}{N2017}
50-
\newcommand{\epptsno}{\placeholder{EPPTS}}
48+
\docdate{2017}{09}{21}
49+
\newcommand{\wgdocno}{N2170}
50+
\newcommand{\epptsno}{21938-1}
5151
\standard{\epptsno}
52-
\yearofedition{2018}
52+
\yearofedition{\placeholder{2019}}
5353
\languageofedition{(E)}
5454
\renewcommand{\extrahead}{\Year-\Mo-\Dy{} \wgdocno}
5555

@@ -69,34 +69,28 @@
6969
}
7070

7171
{\large
72-
The contents of this document match
73-
the Working Draft of the CPLEX study group adopted on 2016-03-07.
74-
Only the document identification and title page have been changed.
75-
76-
The consensus of the study group is that this document is ready
77-
to be transferred to WG14 for further processing
78-
to produce a Technical Specification.
79-
However, the study group does not believe its work is done.
80-
81-
This document describes only parallel execution
82-
that uses multi-processor/multi-core technology.
83-
The study group believes that further work needs to be done
84-
to support SIMD/vector technology.
85-
A goal is that a SIMD parallel loop could be expressed
86-
in terms almost identical to a parallel loop in this document,
87-
just by varying a keyword or two.
88-
Arithmetic on array sections, much as in Fortran,
89-
could also provide better support for SIMD technology.
90-
Support for GPGPU technology is also desirable,
91-
but may be more of a challenge.
92-
93-
The title of this document has been changed
94-
to better align the expectations of the reader
95-
with those of the study group.
96-
However, it should be understood that full planning
97-
for an ISO/IEC multipart Technical Specification ---
98-
including determining the title and scope of each part in advance ---
99-
has not yet been done.
72+
The only change of technical content
73+
from N2017 to this document
74+
is the addition of a new guarantee (with associated note)
75+
to the task execution clause,
76+
to address concerns from the OpenMP community
77+
presented at the Toronto meeting.
78+
79+
There are also a few minor editorial changes:
80+
\begin{itemize}
81+
\item
82+
The actual ISO document number for the Technical Specification
83+
has been applied.
84+
85+
\item
86+
In the Foreword,
87+
the former description of WG14 as a Technical Committee
88+
has been corrected.
89+
90+
\item
91+
A few footnotes describing departures from existing practice (DFEP)
92+
have been added.
93+
\end{itemize}
10094
}
10195
\clearpage
10296
\end{cover}
@@ -108,7 +102,7 @@
108102

109103
ISO/TS
110104
\epptsno{}
111-
was prepared by Technical Committee ISO/IEC JTC1/SC22/WG14.
105+
was prepared by Working Group ISO/IEC JTC1/SC22/WG14.
112106
\footnote{FYI:
113107
This is the only paragraph in the Foreword that has anything in it
114108
that's not just boilerplate.

tasks.tex

+26
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,29 @@
2929
to terminate, detach or join with
3030
a worker thread
3131
results in undefined behavior.
32+
33+
\pnum
34+
\added{%
35+
The mapping of tasks to worker threads is unspecified,
36+
except that the code immediately following a task block
37+
is guaranteed to be executed by the same thread
38+
as that which executed the code
39+
immediately preceding that task block.
40+
The mapping of a task to a worker thread is stable,
41+
except at spawn or join points.%
42+
}%
43+
\footnote{%
44+
Should the statements of a task block be allowed to execute
45+
on a different thread than the one that entered the task block?
46+
}
47+
48+
\begin{note}
49+
\added{%
50+
This means, for example,
51+
that a mutex acquired outside of a task block
52+
can be neither acquired nor released within the task block,
53+
since there is no assurance that such an action
54+
would occur on the same thread (for unlock)
55+
or on a different thread (for lock).
56+
}
57+
\end{note}

0 commit comments

Comments
 (0)