Skip to content

Commit 2f0608e

Browse files
committed
change to new spelling of the -gpu switch for nvc++
1 parent 63d153f commit 2f0608e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "NVHPC")
282282
# Unset these if using nvc++
283283
disable_compiler(LANG CUDA)
284284

285-
set(_nvhpc_seperate_memory_flags "-gpu=nomanaged")
285+
set(_nvhpc_seperate_memory_flags "-gpu=mem:separate")
286286
# if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 24.5.0)
287287
# set(_nvhpc_seperate_memory_flags "-gpu=mem:separate")
288288
# endif()

0 commit comments

Comments
 (0)