N4070: Improving the specification of the vector execution policy in Parallelism TS -- Hans-J. Boehm
This paper was approved at the June ISO C++ meeting.
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4070
Date: 2014-06-20
Improving the specification of the vector execution policy in Parallelism TS
by Hans-J. Boehm
Excerpt:
The Parallelism TS currently prohibits synchronization in functions called from vector algorithms, but says nothing about which standard library functions may invoke synchronization. Unfortunately, due to inline expansion, and the possibility of compiling nested functions in vector mode even if not inlined, this also applies to nested internal synchronization.
This is a very rough initial attempt at somewhat pinning this down. I expect this to generate PDTS comments. The reason to apply a rough fix now is to point out the issue, and hopefully generate much more relevant comments sooner rather than later.