Skip to content

P1673: LWG review (follow-on to PR 424)#426

Merged
crtrott merged 36 commits into
ORNL:masterfrom
mhoemmen:lwg-prep-kona
Nov 8, 2023
Merged

P1673: LWG review (follow-on to PR 424)#426
crtrott merged 36 commits into
ORNL:masterfrom
mhoemmen:lwg-prep-kona

Conversation

@mhoemmen
Copy link
Copy Markdown
Contributor

@mhoemmen mhoemmen commented Nov 7, 2023

Please see list of changes here: #425 . Thanks!

Make "may alias" a transitive verb phrase,
and put all such wording expressions
in the form "Output may alias Input."
Make sure all Effects-equivalent-to that use the execution policy
use `std::forward<ExecutionPolicy>(exec)`,
instead of passing `exec` directly.
For `symmetric_matrix_rank_k_update` and
`hermitian_matrix_rank_k_update`,
rename the template parameter `InMat1` to `InMat`,
because there's no `InMat2`.
Fix this in the synopsis as well.
For in-place triangular_matrix_left_product and
triangular_matrix_right_product,
rename template parameter InMat1 to InMat.
Remove any wording (e.g., for `transposed`)
that depends on P2642 (padded mdspan layouts).
We can restore and correct that wording later.
Fix [linalg.algs.reqs] 1 by changing "type requirements" to "Constraints."
Add the Constraint that ExecutionPolicy is an execution policy.
Remove the requirement that the algorithms that take `ExecutionPolicy`
are parallel algorithms, because that would be circular with
**[algorithms.parallel]** 2 ("A _parallel algorithm_ is
a function template listed in this document
with a template parameter named `ExecutionPolicy`").
e.g., return type of required_span_size(), and formatting
Make `layout_blas_packed::mapping::operator()`
take exactly two parameters, rather than a pack.
Key phrases:

* "Since the triangular matrix is on the left"

* "Since the triangular matrix is on the right"
For default `BinaryDivideOp`, replace lambda with `divides<void>{}`.
Add definitions of the "rows" and "columns" of a matrix
to [linalg.general], so that [linalg.tags.order]
can refer to rows and columns.
`layout_blas_packed::mapping::operator()`: Pass input parameters
through _`index-cast`_ before using them in the formulas.
Remove spurious return value from `layout_blas_packed::mapping::stride`
(the case where the Precondition would have been violated anyway).
@mhoemmen mhoemmen marked this pull request as ready for review November 7, 2023 20:27
@mhoemmen mhoemmen mentioned this pull request Nov 7, 2023
28 tasks
@crtrott crtrott merged commit 88c9780 into ORNL:master Nov 8, 2023
@mhoemmen mhoemmen deleted the lwg-prep-kona branch November 8, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants