Skip to content

Commit 5fd50f7

Browse files
haozhihanQuantumMisaka
authored andcommitted
update __DMLALGO
1 parent 148d0ae commit 5fd50f7

File tree

75 files changed

+4527
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+4527
-242
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ if(ENABLE_MLALGO)
499499
include_directories(${libnpy_INCLUDE_DIR})
500500
endif()
501501
include_directories(${libnpy_SOURCE_DIR}/include)
502-
add_compile_definitions(__DEEPKS)
502+
add_compile_definitions(__DMLALGO)
503503
endif()
504504

505505
if(ENABLE_MLALGO)

doxygen/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ INCLUDE_FILE_PATTERNS =
22012201
# recursively expanded use the := operator instead of the = operator.
22022202
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
22032203

2204-
PREDEFINED = "__DEEPKS:=LCAO_Deepks" \
2204+
PREDEFINED = "__DMLALGO:=LCAO_Deepks" \
22052205
"__MPI"
22062206

22072207
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this

source/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ endif
138138
ifdef LIBNPY_DIR
139139
CNPY_INCLUDE_DIR = -I${LIBNPY_DIR}/include
140140
ifeq ($(ENABLE_MLALGO), ON)
141-
HONG += -D__DEEPKS
141+
HONG += -D__DMLALGO
142142
HONG += -D__MLKEDF
143143
endif
144144
INCLUDES += $(CNPY_INCLUDE_DIR)

source/module_basis/module_pw/test_serial/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ remove_definitions(-D__CUDA)
44
remove_definitions(-D__UT_USE_CUDA)
55
remove_definitions(-D__ROCM)
66
remove_definitions(-D__UT_USE_ROCM)
7-
remove_definitions(-D__DEEPKS)
7+
remove_definitions(-D__DMLALGO)
88

99
add_library(
1010
planewave_serial

source/module_cell/module_neighbor/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
remove_definitions(-D__DEEPKS)
1+
remove_definitions(-D__DMLALGO)
22
remove_definitions(-D__CUDA)
33
#include "module_/.h"
44
remove_definitions(-D__ROCM)

source/module_cell/module_symmetry/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
remove_definitions(-D__LCAO)
2-
remove_definitions(-D__DEEPKS)
2+
remove_definitions(-D__DMLALGO)
33
remove_definitions(-D__CUDA)
44
remove_definitions(-D__ROCM)
55
AddTest(

source/module_cell/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
remove_definitions(-D__DEEPKS)
1+
remove_definitions(-D__DMLALGO)
22
remove_definitions(-D__CUDA)
33
remove_definitions(-D__ROCM)
44
remove_definitions(-D__EXX)

source/module_cell/test_pw/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
remove_definitions(-D__DEEPKS)
1+
remove_definitions(-D__DMLALGO)
22
remove_definitions(-D__CUDA)
33
remove_definitions(-D__ROCM)
44
remove_definitions(-D__EXX)

0 commit comments

Comments
 (0)