Skip to content

Commit

Permalink
Merge pull request #298 from idefix-code/kokkos4.5
Browse files Browse the repository at this point in the history
Bump up to Kokkos 4.5
  • Loading branch information
glesur authored Dec 16, 2024
2 parents 2a395ba + 1453cca commit feae278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ include(SetRequiredBuildSettingsForGCC8)
#Idefix requires Cuda Lambdas (experimental)
if(Kokkos_ENABLE_CUDA)
set(Kokkos_ENABLE_CUDA_LAMBDA ON CACHE BOOL "Idefix requires lambdas on Cuda" FORCE)
set(Kokkos_ENABLE_IMPL_CUDA_MALLOC_ASYNC OFF CACHE BOOL "Disable Async malloc to avoid bugs on PSM2" FORCE)
# CUDA_MALLOC_ASYNC disbaled by default in Kokkos 4.5, so not required here
#set(Kokkos_ENABLE_IMPL_CUDA_MALLOC_ASYNC OFF CACHE BOOL "Disable Async malloc to avoid bugs on PSM2" FORCE)
endif()

# Add kokkos CMAKE files (required early since these set compiler options)
Expand Down
2 changes: 1 addition & 1 deletion src/kokkos
Submodule kokkos updated 654 files

0 comments on commit feae278

Please sign in to comment.