Skip to content

Commit 5eca0f1

Browse files
committed
fix : UT for diago_cg.cpp and diago_david.cpp should not depend on __CUDA and __ROCM
1 parent c41592b commit 5eca0f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/src_pw/test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
remove_definitions(-D__MPI)
2+
remove_definitions(-D__CUDA)
3+
remove_definitions(-D__ROCM)
24
AddTest(
35
TARGET hsolver_david
46
LIBS ${math_libs} base

0 commit comments

Comments
 (0)