https://github.com/lukeyeager/cmake-cuda-example
Example of how to use CUDA with CMake >= 3.8
https://github.com/lukeyeager/cmake-cuda-example
cmake cuda
Last synced: about 1 year ago
JSON representation
Example of how to use CUDA with CMake >= 3.8
- Host: GitHub
- URL: https://github.com/lukeyeager/cmake-cuda-example
- Owner: lukeyeager
- License: mit
- Created: 2017-06-16T22:07:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T12:32:51.000Z (about 3 years ago)
- Last Synced: 2025-03-20T17:54:14.846Z (over 1 year ago)
- Topics: cmake, cuda
- Language: CMake
- Size: 1.95 KB
- Stars: 69
- Watchers: 1
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CUDA with CMake 3.8
With a super-recent build of CMake (https://gitlab.kitware.com/cmake/cmake/merge_requests/949), try this:
```
./run.sh -DCMAKE_VERBOSE_MAKEFILE=On -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache
```