Skip to content

Remove deprecated Kokkos_ENABLE_CUDA_LAMBDA#211

Merged
cwsmith merged 3 commits intoSCOREC:masterfrom
Sichao25:yus/cmake
Mar 23, 2026
Merged

Remove deprecated Kokkos_ENABLE_CUDA_LAMBDA#211
cwsmith merged 3 commits intoSCOREC:masterfrom
Sichao25:yus/cmake

Conversation

@Sichao25
Copy link

Kokkos_ENABLE_CUDA_LAMBDA is deprecated since Kokkos 4.1 and has been fully removed. As the oldest Kokkos version currently under maintenance is 4.3, this option should be removed from omega_h.

Copy link

@cwsmith cwsmith left a comment

Choose a reason for hiding this comment

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

Thank you. I left one comment below.

if ("SYCL" IN_LIST Kokkos_DEVICES)
bob_option(Omega_h_USE_SYCL "Whether to use SYCL" "ON")
endif()
if (Kokkos_ENABLE_CUDA AND (NOT "CUDA_LAMBDA" IN_LIST Kokkos_OPTIONS))
Copy link

Choose a reason for hiding this comment

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

I think we should add a version check to keep this conditional for older versions of Kokkos (at least while we are still supporting them).

Copy link
Author

Choose a reason for hiding this comment

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

That's a good idea. I can keep this conditional for Kokkos <4.1.

@Sichao25
Copy link
Author

@cwsmith Would you mind running the self hosted test?

@cwsmith
Copy link

cwsmith commented Mar 23, 2026

/runtests

@Sichao25 Sichao25 marked this pull request as ready for review March 23, 2026 18:16
@github-actions
Copy link

Test Results:

  • Kokkos CUDA: success
  • No Kokkos: success
  • Kokkos Serial: success
  • Kokkos OpenMP: success
  • Kokkos CUDA Warnings as Errors: success

(details)

@cwsmith cwsmith merged commit 2d71f6a into SCOREC:master Mar 23, 2026
17 checks passed
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