We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec0594d commit a2a0189Copy full SHA for a2a0189
2 files changed
CMakeLists.txt
@@ -45,10 +45,12 @@ include(SetRequiredBuildSettingsForGCC8)
45
#Idefix requires Cuda Lambdas (experimental)
46
if(Kokkos_ENABLE_CUDA)
47
set(Kokkos_ENABLE_CUDA_LAMBDA ON CACHE BOOL "Idefix requires lambdas on Cuda" FORCE)
48
+ set(Kokkos_ENABLE_IMPL_CUDA_MALLOC_ASYNC OFF CACHE BOOL "Disable Async malloc to avoid bugs on PSM2" FORCE)
49
endif()
50
51
# Add kokkos CMAKE files (required early since these set compiler options)
52
add_subdirectory(src/kokkos build/kokkos)
53
+include_directories(${Kokkos_INCLUDE_DIRS_RET})
54
55
# Add Idefix CXX Flags
56
add_compile_options(${Idefix_CXX_FLAGS})
src/kokkos
0 commit comments