Skip to content

Commit

Permalink
try building with cuda 12.5 which is compatible with VS 2022 17.10 an…
Browse files Browse the repository at this point in the history
…d above
  • Loading branch information
vineetbansal committed Jul 27, 2024
1 parent fc12990 commit ffd7c47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 170 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2022]
os: [windows-2022]

steps:
- uses: actions/checkout@master
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
CIBW_BEFORE_ALL_LINUX: bash .github/workflows/prepare_build_environment_linux_cuda.sh
CIBW_REPAIR_WHEEL_COMMAND_LINUX: ""

CIBW_ENVIRONMENT_WINDOWS: CMAKE_CUDA_COMPILER="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6/bin/nvcc.exe" CUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6" CMAKE_GENERATOR_TOOLSET="cuda=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6" CUDA_NVCC_FLAGS="--allow-unsupported-compiler"
CIBW_ENVIRONMENT_WINDOWS: CMAKE_CUDA_COMPILER="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.5/bin/nvcc.exe" CUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.5" CMAKE_GENERATOR_TOOLSET="cuda=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.5" CUDA_NVCC_FLAGS="--allow-unsupported-compiler"
CIBW_BEFORE_ALL_WINDOWS: bash .github/workflows/prepare_build_environment_windows_cuda.sh
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""

Expand Down
109 changes: 0 additions & 109 deletions .github/workflows/build_default.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/build_mkl.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/prepare_build_environment_windows_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e
set -x

curl -s -L -nv -o cuda.exe https://developer.download.nvidia.com/compute/cuda/11.6.1/local_installers/cuda_11.6.1_511.65_windows.exe
./cuda.exe -s nvcc_11.6 cudart_11.6 cublas_dev_11.6 curand_dev_11.6 cusparse_dev_11.6 thrust_11.6 visual_studio_integration_11.6
curl -s -L -nv -o cuda.exe https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda_12.5.1_555.85_windows.exe
./cuda.exe -s nvcc_12.5 cudart_12.5 cublas_dev_12.5 curand_dev_12.5 cusparse_dev_12.5 thrust_12.5 visual_studio_integration_12.5
rm cuda.exe

0 comments on commit ffd7c47

Please sign in to comment.