Skip to content

Conversation

@mattkretz
Copy link
Member

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?

@jensmaurer
Copy link
Member

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

Copy link
Member

@jensmaurer jensmaurer left a 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,
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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}.
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
\rSec2[simd.expos]{Exposition only types, variables, and concepts}
\rSec2[simd.expos]{Exposition-only types, variables, and concepts}

@mattkretz mattkretz closed this Nov 25, 2024
@mattkretz mattkretz deleted the P1928R15-simd branch November 25, 2024 11:43
@mattkretz
Copy link
Member Author

Ah whatever GitHub. I renamed the branch to match https://github.com/cplusplus/draft/wiki/Commit-message-format. I'll open a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants