summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/Toolkit/main.cu
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-11-25 21:03:15 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2019-12-16 16:15:12 (GMT)
commite2a5d8374f94c7893109e11173fc770cec8a4683 (patch)
tree5093bbc3195f66b6c164b991a3552969c894116c /Tests/CudaOnly/Toolkit/main.cu
parent29560bf07b49aee326f555aec53b091e3520294b (diff)
downloadCMake-e2a5d8374f94c7893109e11173fc770cec8a4683.zip
CMake-e2a5d8374f94c7893109e11173fc770cec8a4683.tar.gz
CMake-e2a5d8374f94c7893109e11173fc770cec8a4683.tar.bz2
FindCUDAToolkit: Improve usage, library set, and tests
Refined the initial design of FindCUDAToolkit and improve it by adding more library support, more toolkit information and tests.
Diffstat (limited to 'Tests/CudaOnly/Toolkit/main.cu')
-rw-r--r--Tests/CudaOnly/Toolkit/main.cu8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CudaOnly/Toolkit/main.cu b/Tests/CudaOnly/Toolkit/main.cu
new file mode 100644
index 0000000..0f3ccdc
--- /dev/null
+++ b/Tests/CudaOnly/Toolkit/main.cu
@@ -0,0 +1,8 @@
+// Only thing we care about is that these headers are found
+#include <cuda.h>
+#include <cuda_runtime_api.h>
+
+int main(int argc, char** argv)
+{
+ return 0;
+}