Skip to content

Commit 801ad74

Browse files
committed
fix: CUDA 13 Windows build
1 parent f5442d7 commit 801ad74

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@ jobs:
147147
echo "Cuda installation finished"
148148
149149
rm -f ./cuda_13.0.0_windows_network.exe
150+
151+
echo "where cudart64_13.dll: $(where cudart64_13.dll)"
152+
153+
echo "CUDA_PATH=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0" >> $GITHUB_ENV
154+
echo "CUDA_PATH_V13_0=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0" >> $GITHUB_ENV
155+
echo "CUDA_PATH_VX_Y=CUDA_PATH_V13_0" >> $GITHUB_ENV
156+
echo "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin" >> $GITHUB_PATH
150157
151158
- name: Install Cuda 12.4 on Ubuntu
152159
if: matrix.config.name == 'Ubuntu (1)'

docs/guide/CUDA.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ If you see `CUDA used VRAM` in the output, it means that CUDA support is working
4343

4444
## Prerequisites
4545
* [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) 12.4 or higher
46+
* [NVIDIA Drivers](https://www.nvidia.com/en-us/drivers/)
4647
* [`cmake-js` dependencies](https://github.com/cmake-js/cmake-js#:~:text=projectRoot/build%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5Bstring%5D-,Requirements%3A,-CMake)
4748
* [CMake](https://cmake.org/download/) 3.26 or higher (optional, recommended if you have build issues)
4849

0 commit comments

Comments
 (0)