diff options
author | Brad King <brad.king@kitware.com> | 2016-12-15 20:17:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-12 15:39:04 (GMT) |
commit | f9a810f7b39406e00998c6e74e5a7d7d218d5aba (patch) | |
tree | c323b44864f8e834db6bef4ec30e0416bb9accdf /Tests/CudaOnly | |
parent | 5599d858c7881b4331c449ba5c59d255ed50bd11 (diff) | |
download | CMake-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).
Diffstat (limited to 'Tests/CudaOnly')
-rw-r--r-- | Tests/CudaOnly/SeparateCompilation/main.cu | 8 |
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; } |