From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Thu Jul  6 00:19:47 2017
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 4ADB7358758; Thu,  6 Jul 2017 00:19:46 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from rgout05.bt.lon5.cpcloud.co.uk (rgout0507.bt.lon5.cpcloud.co.uk [65.20.0.228])
	by www.open-std.org (Postfix) with ESMTP id 8A3A93567EE
	for <sc22wg5@open-std.org>; Thu,  6 Jul 2017 00:19:44 +0200 (CEST)
X-OWM-Source-IP: 31.49.153.6 (GB)
X-OWM-Env-Sender: d.t.muxworthy@btinternet.com
X-Junkmail-Premium-Raw: score=10/50,refid=2.7.2:2017.7.5.214816:17:10.910,ip=,rules=__HAS_FROM,
 __CT, __CTYPE_MULTIPART_ALT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART,
 __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __REFERENCES,
 __TO_MALFORMED_2, __TO_NO_NAME, __HAS_MSGID, __SANE_MSGID, __MSGID_APPLEMAIL,
 __MIME_VERSION, __HAS_X_MAILER, __X_MAILER_APPLEMAIL, __TO_IN_SUBJECT2,
 MIME_LOWER_CASE, __MIME_TEXT_P2, __MIME_TEXT_H2, __ANY_URI, __URI_NO_WWW,
 __SUBJ_ALPHA_NEGATE, SUPERLONG_LINE, __HTML_AHREF_TAG, __FORWARDED_MSG,
 __URI_WITHOUT_PATH, __HAS_HTML, __HTML_TAG_DIV, HTML_NO_HTTP,
 BODYTEXTP_SIZE_3000_LESS, BODYTEXTH_SIZE_3000_MORE,
 BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML,
 __TAG_EXISTS_HTML, __URI_NS, HTML_70_90, __USER_AGENT_APPLEMAIL, MSG_THREAD,
 LEGITIMATE_SIGNS, TO_IN_SUBJECT, __MIME_TEXT_H, __MIME_TEXT_P, REFERENCES,
 NO_URI_HTTPS
Received: from davids-imac.home (31.49.153.6) by rgout05.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as d.t.muxworthy@btinternet.com)
        id 5957E506006479D7 for sc22wg5@open-std.org; Wed, 5 Jul 2017 23:19:44 +0100
From: David Muxworthy <d.muxworthy@bcs.org.uk>
Content-Type: multipart/alternative; boundary="Apple-Mail=_4AA88D1C-35E5-4DBF-803D-FDE6D3A047CE"
Subject: Re: (SC22WG5.5898) 3 levels of parallelism?
Date: Wed, 5 Jul 2017 23:19:43 +0100
References: <CA+KjR2azkyDuo+osGkRiooJE6Guzb2F5PjkcDmiP8u=M+0=2+Q@mail.gmail.com>
To: sc22wg5@open-std.org
Message-Id: <48C3219D-CC20-4EB0-8B39-3A5BEBFCFCE4@bcs.org.uk>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
Sender: owner-sc22wg5@open-std.org
Precedence: bulk


--Apple-Mail=_4AA88D1C-35E5-4DBF-803D-FDE6D3A047CE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Due to a glitch in the sc22wg5 mail server (it seems to have mislaid the =
most recent whitelist) this message
from Brian Friesen was incorrectly rejected.

> Begin forwarded message:
>=20
> From: Brian Friesen <bfriesen@lbl.gov>
> Subject: Re: (j3.2006) (SC22WG5.5898) 3 levels of parallelism?
> Date: 5 July 2017 at 23:05:34 BST
> To: fortran standards email list for J3 <j3@mailman.j3-fortran.org>
> Cc: sc22wg5 <sc22wg5@open-std.org>
> Reply-To: fortran standards email list for J3 =
<j3@mailman.j3-fortran.org>
>=20
> On Wed, Jul 5, 2017 at 12:49 PM, Clune, Thomas L. (GSFC-6101) =
<thomas.l.clune@nasa.gov <mailto:thomas.l.clune@nasa.gov>> wrote:
> I think the concern is that in practice, the user needs to be able to =
control the division of work between the two levels to optimize =
performance.   A model where the compiler will make the decisions will =
be easier to use, but =E2=80=A6
>=20
> The history of optimization in real codes is littered with the =
difference between =E2=80=9Cin theory=E2=80=9D and =E2=80=9Cin =
practice=E2=80=9D.
>=20
> But isn't the point of the language to be descriptive, not =
prescriptive? Controlling the division of work among different types of =
parallelism seems like a job for programming models like OpenMP, =
OpenACC, etc. They evolve rapidly and follow architecture trends. OpenMP =
already supports both thread- and SIMD-level parallelism. (Don't know =
about OpenACC.)
>=20
> Or did you have something more subtle in mind?


--Apple-Mail=_4AA88D1C-35E5-4DBF-803D-FDE6D3A047CE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Due to a glitch in the sc22wg5 mail server (it seems to have =
mislaid the most recent whitelist) this message<div class=3D"">from =
Brian Friesen was incorrectly rejected.<br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Begin =
forwarded message:</div><br class=3D"Apple-interchange-newline"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;" class=3D""><span style=3D"font-family: =
-webkit-system-font, Helvetica Neue, Helvetica, sans-serif; =
color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">From: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">Brian Friesen &lt;<a =
href=3D"mailto:bfriesen@lbl.gov" class=3D"">bfriesen@lbl.gov</a>&gt;<br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Subject: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D""><b class=3D"">Re: (j3.2006) =
(SC22WG5.5898) 3 levels of parallelism?</b><br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Date: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">5 July 2017 at 23:05:34 BST<br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">To: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">fortran standards email list =
for J3 &lt;<a href=3D"mailto:j3@mailman.j3-fortran.org" =
class=3D"">j3@mailman.j3-fortran.org</a>&gt;<br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Cc: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">sc22wg5 &lt;<a =
href=3D"mailto:sc22wg5@open-std.org" =
class=3D"">sc22wg5@open-std.org</a>&gt;<br class=3D""></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;" class=3D""><span style=3D"font-family: =
-webkit-system-font, Helvetica Neue, Helvetica, sans-serif; =
color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Reply-To: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">fortran standards email list =
for J3 &lt;<a href=3D"mailto:j3@mailman.j3-fortran.org" =
class=3D"">j3@mailman.j3-fortran.org</a>&gt;<br =
class=3D""></span></div><br class=3D""><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Wed, =
Jul 5, 2017 at 12:49 PM, Clune, Thomas L. (GSFC-6101) <span dir=3D"ltr" =
class=3D"">&lt;<a href=3D"mailto:thomas.l.clune@nasa.gov" =
target=3D"_blank" class=3D"">thomas.l.clune@nasa.gov</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style=3D"word-wrap:break-word" class=3D"">
<div class=3D"">I think the concern is that in practice, the user needs =
to be able to control the division of work between the two levels to =
optimize performance. &nbsp; A model where the compiler will make the =
decisions will be easier to use, but =E2=80=A6</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">The history of optimization in real codes is littered =
with the difference between =E2=80=9Cin theory=E2=80=9D and =E2=80=9Cin =
practice=E2=80=9D.</div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">But isn't the point of the language to =
be descriptive, not prescriptive? Controlling the division of work among =
different types of parallelism seems like a job for programming models =
like OpenMP, OpenACC, etc. They evolve rapidly and follow architecture =
trends. OpenMP already supports both thread- and SIMD-level parallelism. =
(Don't know about OpenACC.)</div><div class=3D""><br class=3D""></div><div=
 class=3D"">Or did you have something more subtle in =
mind?</div></div></div></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_4AA88D1C-35E5-4DBF-803D-FDE6D3A047CE--
