We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f81663 commit cc2de5bCopy full SHA for cc2de5b
CMakeLists.txt
@@ -40,6 +40,7 @@ option(ENABLE_CNPY "Enable cnpy usage." OFF)
40
option(ENABLE_PEXSI "Enable support for PEXSI." OFF)
41
option(ENABLE_CUSOLVERMP "Enable cusolvermp." OFF)
42
option(USE_DSP "Enable DSP usage." OFF)
43
+option(USE_CUDA_ON_DCU "Enable CUDA on DCU" OFF)
44
45
# enable json support
46
if(ENABLE_RAPIDJSON)
@@ -126,6 +127,10 @@ if (USE_DSP)
126
127
set(ABACUS_BIN_NAME abacus_dsp)
128
endif()
129
130
+if (USE_CUDA_ON_DCU)
131
+ add_compile_definitions(__CUDA_ON_DCU)
132
+endif()
133
+
134
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
135
136
if(ENABLE_COVERAGE)
0 commit comments