Skip to content

Casey's mdspan review comments#28

Closed
CaseyCarter wants to merge 18 commits intoStephanTLavavej:mdspanfrom
CaseyCarter:mdspan
Closed

Casey's mdspan review comments#28
CaseyCarter wants to merge 18 commits intoStephanTLavavej:mdspanfrom
CaseyCarter:mdspan

Conversation

@CaseyCarter
Copy link

@CaseyCarter CaseyCarter commented Sep 12, 2023

It's actually a small amount of changes for ~7k LoC. Please review by commits, which are nicely small and focused. This felt just extensive enough that I can imagine maybe putting off some of the changes, so I thought it would be better to make a delta PR rather than pushing into microsoft#3972.

@StephanTLavavej
Copy link
Owner

I pushed a couple of commits here, fixing a typo ("either be either equal" => "either be equal") and adding a missed change for a comment you made (_Ptr{} => _Ptr = data_handle_type()).

Then I tidied up the sequence of commits and pushed it into my mdspan branch instead of merging this PR, so you can see that the results are the same despite the history rewriting (I figured this was cleaner than a force-push).

What I did was:

  • Drop the layout_stride::mapping commit and its reversion
  • Squashed together the "Remove unnecessary _Size template parameter from extents constructor" change with its followup size_t{_Rank_dynamic} => _Rank_dynamic
    • This involved a conflict resolution in the following commit "Convert private extents constructor constraints to _STL_INTERNAL_STATIC_ASSERTs"
  • Squashed my typo fix into the "Clarify error messages" commit

@StephanTLavavej
Copy link
Owner

Really I should have squashed into "Defend against non-{}-constructible types", oh well.

@CaseyCarter CaseyCarter deleted the mdspan branch September 13, 2023 01:24
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.

3 participants