mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ).
9 lines
136 B
C++
9 lines
136 B
C++
// Only thing we care about is that these headers are found
|
|
#include <cuda.h>
|
|
#include <cuda_runtime_api.h>
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|