summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-12-15 20:17:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-12 15:39:04 (GMT)
commitf9a810f7b39406e00998c6e74e5a7d7d218d5aba (patch)
treec323b44864f8e834db6bef4ec30e0416bb9accdf
parent5599d858c7881b4331c449ba5c59d255ed50bd11 (diff)
downloadCMake-f9a810f7b39406e00998c6e74e5a7d7d218d5aba.zip
CMake-f9a810f7b39406e00998c6e74e5a7d7d218d5aba.tar.gz
CMake-f9a810f7b39406e00998c6e74e5a7d7d218d5aba.tar.bz2
CUDA: Enable CudaOnly.SeparateCompilation test runtime calls
Uncomment the calls in `main.cpp` (and fix the signatures).
-rw-r--r--Tests/CudaOnly/SeparateCompilation/main.cu8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/CudaOnly/SeparateCompilation/main.cu b/Tests/CudaOnly/SeparateCompilation/main.cu
index d4520ae..5c8e150 100644
--- a/Tests/CudaOnly/SeparateCompilation/main.cu
+++ b/Tests/CudaOnly/SeparateCompilation/main.cu
@@ -4,12 +4,12 @@
#include "file1.h"
#include "file2.h"
-// result_type file4_launch_kernel(int x);
-// result_type file5_launch_kernel(int x);
+int file4_launch_kernel(int x);
+int file5_launch_kernel(int x);
int main(int argc, char **argv)
{
- // file4_launch_kernel(42);
- // file5_launch_kernel(42);
+ file4_launch_kernel(42);
+ file5_launch_kernel(42);
return 0;
}