Skip to content

Commit 883f6a8

Browse files
committed
USE_CUDA_ON_DCU is an independent option
1 parent 1e711d9 commit 883f6a8

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
@@ -29,6 +29,7 @@ option(ENABLE_OPENMP "Enable OpenMP" ON)
2929
option(USE_CUDA "Enable CUDA" OFF)
3030
option(USE_ROCM "Enable ROCm" OFF)
3131
option(USE_DSP "Enable DSP" OFF)
32+
option(USE_CUDA_ON_DCU "Enable CUDA on DCU" OFF)
3233
option(USE_KML "Enable Kunpeng Math Library" OFF)
3334
option(USE_SW "Enable SW Architecture" OFF)
3435

@@ -64,7 +65,6 @@ cmake_dependent_option(ENABLE_MLALGO "Enable the machine learning algorithms"
6465
OFF "ENABLE_LCAO;ENABLE_MPI" OFF)
6566

6667
cmake_dependent_option(USE_CUDA_MPI "Enable CUDA-aware MPI" OFF "USE_CUDA" OFF)
67-
cmake_dependent_option(USE_CUDA_ON_DCU "Enable CUDA on DCU" OFF "USE_CUDA" OFF)
6868
cmake_dependent_option(ENABLE_CUSOLVERMP "Enable cusolvermp" OFF "USE_CUDA" OFF)
6969
cmake_dependent_option(ENABLE_CUBLASMP "Enable cublasmp" OFF "ENABLE_CUSOLVERMP" OFF)
7070
cmake_dependent_option(ENABLE_NCCL_PARALLEL_DEVICE

0 commit comments

Comments
 (0)