You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message(FATAL_ERROR "GPU_TYPE ${GPU_TYPE} not supported")
46
+
endif()
50
47
else()
51
-
option(Kokkos_ARCH_ZEN4 ""ON)
52
-
string(APPEND KOKKOS_OPTIONS " -DKokkos_ENABLE_OPENMP=Off") # work-around for nvidia as kokkos is not passing "-mp" for threaded build
48
+
string(APPEND KOKKOS_OPTIONS " -DKokkos_ARCH_ZEN4=ON -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_OPENMP=OFF") # work-around for nvidia as kokkos is not passing "-mp" for threaded build
53
49
endif()
54
-
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
55
-
set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch"CACHESTRING"" FORCE) # only works with gnu v10 and above
string(APPEND KOKKOS_OPTIONS " -DKokkos_ENABLE_OPENMP=Off") # work-around for nvidia as kokkos is not passing "-mp" for threaded build
25
+
string(APPEND KOKKOS_OPTIONS " -DKokkos_ARCH_ZEN3=ON -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_OPENMP=OFF") # work-around for nvidia as kokkos is not passing "-mp" for threaded build
40
26
endif()
41
-
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
42
-
set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch"CACHESTRING"" FORCE) # only works with gnu v10 and above
0 commit comments