Browse Source

CUDA: Enable CudaOnly.SeparateCompilation test runtime calls

Uncomment the calls in `main.cpp` (and fix the signatures).
Brad King 9 years ago
parent
commit
f9a810f7b3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Tests/CudaOnly/SeparateCompilation/main.cu

+ 4 - 4
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;
 }