Skip to content

Fix mdspan for C++26 mode compilation with GCC 16 - #488

Merged
crtrott merged 1 commit into
kokkos:stablefrom
crtrott:cpp26-fixes
Oct 16, 2026
Merged

crtrott merged 1 commit into
kokkos:stablefrom
crtrott:cpp26-fixes

Conversation

@crtrott

@crtrott crtrott commented Oct 16, 2026

Copy link
Copy Markdown
Member
  • make submdspan work with constant_wrapper
  • delete test of constant_wrapper which was wrong, and anyway only tested the std::constant_wrapper
  • work around deprecation of std::is_trivial

Signed-off-by: Christian Trott <crtrott@sandia.gov>

@masterleinad masterleinad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I confirmed that that also fixes compiling and running the Kokkos Core unit tests.

@mhoemmen

Copy link
Copy Markdown
Contributor

@youyu3 FYI

@crtrott
crtrott merged commit d1636da into kokkos:stable Oct 16, 2026
16 checks passed
@crtrott
crtrott deleted the cpp26-fixes branch October 16, 2026 22:02
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