Skip to content

Commit

Permalink
disable CUDA on Windows with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Dec 5, 2023
1 parent f0aaa04 commit f49b6b9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/root-cmakelists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ jobs:
include:
- openmp: without
openmp-cmake-flags: "-DNOPENMP=ON"
- openmp: with
cuda: with
cuda-cmake-flags:
-DENABLE_CUDA=ON
-DCMAKE_CUDA_COMPILER_LAUNCHER="ccache"
# - openmp: with
# cuda: with
# cuda-cmake-flags:
# -DENABLE_CUDA=ON
# -DCMAKE_CUDA_COMPILER_LAUNCHER="ccache"

env:
CHERE_INVOKING: 1
Expand Down
1 change: 1 addition & 0 deletions GraphBLAS/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# for their numerical factorizsation. The flag is false
# for GraphBLAS since CUDA for that package is in
# progress and not ready for production use.
# CUDA acceleration not supported on Windows with MSVC.
#
# LOCAL_INSTALL: if true, "cmake --install" will install
# into SuiteSparse/lib and SuiteSparse/include.
Expand Down
1 change: 1 addition & 0 deletions LAGraph/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# for their numerical factorizsation. The flag is false
# for GraphBLAS since CUDA for that package is in
# progress and not ready for production use.
# CUDA acceleration not supported on Windows with MSVC.
#
# LOCAL_INSTALL: if true, "cmake --install" will install
# into SuiteSparse/lib and SuiteSparse/include.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ is set).

If set to `ON`, CUDA is enabled for the project. Default: `ON` for CHOLMOD
and SPQR; `OFF` otherwise.
Ignored for MSVC (CUDA acceleration is disabled on Windows with MSVC).

* `CMAKE_INSTALL_PREFIX`:

Expand Down
1 change: 1 addition & 0 deletions SuiteSparse_config/Config/README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ is set).

If set to `ON`, CUDA is enabled for the project. Default: `ON` for CHOLMOD
and SPQR; `OFF` otherwise.
Ignored for MSVC (CUDA acceleration is disabled on Windows with MSVC).

* `CMAKE_INSTALL_PREFIX`:

Expand Down
1 change: 1 addition & 0 deletions SuiteSparse_config/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# for their numerical factorizsation. The flag is false
# for GraphBLAS since CUDA for that package is in
# progress and not ready for production use.
# CUDA acceleration not supported on Windows with MSVC.
#
# LOCAL_INSTALL: if true, "cmake --install" will install
# into SuiteSparse/lib and SuiteSparse/include.
Expand Down

0 comments on commit f49b6b9

Please sign in to comment.