An open API service indexing awesome lists of open source software.

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

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
```