Skip to content

Commit

Permalink
remove force disable cuda malloc async following update to 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
glesur committed Dec 16, 2024
1 parent f4b2d46 commit 1453cca
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 1453cca

Please sign in to comment.