Skip to content

[mdspan.sub.map.sliceable] Fix M::extent_type to M::extents_type#3

Open
abhinavagarwal07 wants to merge 1 commit into
mainfrom
fix-sliceable-extents-type
Open

[mdspan.sub.map.sliceable] Fix M::extent_type to M::extents_type#3
abhinavagarwal07 wants to merge 1 commit into
mainfrom
fix-sliceable-extents-type

Conversation

@abhinavagarwal07

@abhinavagarwal07 abhinavagarwal07 commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Layout mapping types expose extents_type, not extent_type (the latter is a member of extent_slice). The Let clause in [mdspan.sub.map.sliceable] defines IT and M_rank via the undefined member M::extent_type, making the subsequent sliceable layout mapping requirements uninterpretable.

The same subclause uses LayoutMapping::extents_type::rank() and SM::extents_type::{rank,index_type} correctly elsewhere.

Layout mapping types expose extents_type, not extent_type; the
latter is a member of extent_slice. As written, IT and M_rank
in the Let clause name an undefined member.
@abhinavagarwal07 abhinavagarwal07 force-pushed the fix-sliceable-extents-type branch from 4ec41db to b861c38 Compare April 26, 2026 23:23
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.

1 participant