Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Comments

[5.0.1] Revert mdspan with CUDA 12.9 workaround (#8779)#8782

Merged
dalg24 merged 1 commit intokokkos:release-candidate-5.0.1from
crtrott:rc-501-cherry-pick-8779
Dec 29, 2025
Merged

[5.0.1] Revert mdspan with CUDA 12.9 workaround (#8779)#8782
dalg24 merged 1 commit intokokkos:release-candidate-5.0.1from
crtrott:rc-501-cherry-pick-8779

Conversation

@crtrott
Copy link
Member

@crtrott crtrott commented Dec 24, 2025

Cherry-pick #8779

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts a CUDA 12.9-specific workaround for mdspan by cherry-picking changes from #8779. The changes remove compiler-version-specific logic and properly gate deprecated View types behind the KOKKOS_ENABLE_DEPRECATED_CODE_5 flag.

  • Removes CUDA 12.9 workaround logic from cmake configuration
  • Strengthens deprecation guards for legacy View type aliases
  • Ensures consistent type alias behavior across deprecated and non-deprecated code paths

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
cmake/kokkos_enable_options.cmake Removes CUDA 12.9 compiler version check and simplifies VIEW_LEGACY_DEFAULT logic
core/src/View/Kokkos_ViewTraits.hpp Adds KOKKOS_ENABLE_DEPRECATED_CODE_5 requirement to legacy data_type aliases
core/src/View/Kokkos_ViewLegacy.hpp Conditionally uses scalar_array_type vs data_type based on deprecation flag

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@crtrott crtrott added the SNL-CI-APPROVAL Required for non-SNL contributions to run on SNL CI label Dec 24, 2025
@dalg24 dalg24 merged commit c216683 into kokkos:release-candidate-5.0.1 Dec 29, 2025
51 of 62 checks passed
@crtrott crtrott deleted the rc-501-cherry-pick-8779 branch January 28, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SNL-CI-APPROVAL Required for non-SNL contributions to run on SNL CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants