File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ if(CUDA_MEMTEST_BACKEND STREQUAL "cuda")
147147else ()
148148 target_link_libraries (cuda_memtest PRIVATE hip::host )
149149 target_link_libraries (cuda_memtest PRIVATE hip::device )
150- target_compile_definitions (cuda_memtest PRIVATE "$<$<COMPILE_LANGUAGE :CXX >:- D__HIP_PLATFORM_AMD__ >" )
150+ target_compile_definitions (cuda_memtest PRIVATE "$<$<COMPILE_LANGUAGE :CXX >:__HIP_PLATFORM_AMD__ >" )
151151 target_compile_definitions (cuda_memtest PRIVATE "ENABLE_NVML=0" )
152152endif ()
153153
@@ -175,7 +175,7 @@ endif()
175175
176176option (CUDA_MEMTEST_RELEASE "disable all runtime asserts" ON )
177177if (CUDA_MEMTEST_RELEASE)
178- target_compile_definitions (cuda_memtest PRIVATE -DNDEBUG )
178+ target_compile_definitions (cuda_memtest PRIVATE NDEBUG )
179179endif (CUDA_MEMTEST_RELEASE )
180180
181181################################################################################
You can’t perform that action at this time.
0 commit comments