-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 2024-11 LWG Motion 18 - P1928R15 std::simd — merge data-parallel types from the Parallelism TS 2 #7437
Conversation
That needs at least careful scrutiny why they would be necessary. Please fix the commit title and message according to https://github.com/cplusplus/draft/wiki/Commit-message-format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no complete, but a start
\end{note} | ||
|
||
\pnum | ||
The set of \defn{vectorizable types} comprises all standard integer types, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use \defnadjx so that we get index entries for both "vectorizable type" and "type, vectorizable".
\tcode{std::float64_t} are vectorizable types if defined ([basic.extended.fp]). | ||
|
||
\pnum | ||
The term \defn{data-parallel type} refers to all enabled specializations of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\defnadj
|
||
\pnum | ||
The term \defn{data-parallel type} refers to all enabled specializations of | ||
the \tcode{basic_simd} and \tcode{basic_simd_mask} class templates. A \defn{data-parallel object} is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\defnadj
\pnum | ||
The term \defn{data-parallel type} refers to all enabled specializations of | ||
the \tcode{basic_simd} and \tcode{basic_simd_mask} class templates. A \defn{data-parallel object} is | ||
an object of \term{data-parallel type}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defined phrases are italicized once when defined, and not when referred to. Please remove \term here.
The elements in a data-parallel type are indexed from 0 to $\textrm{width} - 1$. | ||
|
||
\pnum | ||
An \defn{element-wise operation} applies a specified operation to the elements of one or more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\defnadj
|
||
\pnum | ||
Given a \tcode{basic_simd_mask<Bytes, Abi>} object \tcode{mask}, the | ||
\defn{selected indices} signify the integers $i$ in the range |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\defnadj
Given a \tcode{basic_simd_mask<Bytes, Abi>} object \tcode{mask}, the | ||
\defn{selected indices} signify the integers $i$ in the range | ||
\range{0}{mask.size()} for which \tcode{mask[$i$]} is \tcode{true}. | ||
Given a data-parallel object \tcode{data}, the \defn{selected elements} signify the elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\defnadj
\defn{value-preserving} if | ||
all possible values of \tcode{U} can be represented with type \tcode{T}. | ||
|
||
\rSec2[simd.expos]{Exposition only types, variables, and concepts} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\rSec2[simd.expos]{Exposition only types, variables, and concepts} | |
\rSec2[simd.expos]{Exposition-only types, variables, and concepts} |
Ah whatever GitHub. I renamed the branch to match https://github.com/cplusplus/draft/wiki/Commit-message-format. I'll open a new PR. |
Fixes #7430
Fixes cplusplus/papers#670
This is still work-in-progress. Several overfull hboxes to be fixed. Also, I assume the local use of
\newcommand
macros is not something I should keep, yes?