Skip to content

Commit

Permalink
CUDA: Hint CUDAToolkit_ROOT
Browse files Browse the repository at this point in the history
```
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/CMakeDetermineCUDACompiler.cmake:166 (message):
  Could not find nvcc, please set CUDAToolkit_ROOT.
```
  • Loading branch information
ax3l committed Mar 19, 2021
1 parent febb0a0 commit 4c188b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
-DAMReX_GPU_BACKEND=CUDA ^
-DCMAKE_CXX_STANDARD=14 ^
-DCMAKE_CUDA_STANDARD=14 ^
-DAMReX_CUDA_ARCH=6.0
-DAMReX_CUDA_ARCH=6.0 ^
-DCUDAToolkit_ROOT="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1"
cmake --build build -j 2
# use "cmd", see https://gitlab.kitware.com/cmake/cmake/-/issues/20281
# -DAMReX_PARTICLES=ON

0 comments on commit 4c188b0

Please sign in to comment.