diff options
Diffstat (limited to 'Tests/CudaOnly/SeparateCompilation/file1.cu')
-rw-r--r-- | Tests/CudaOnly/SeparateCompilation/file1.cu | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CudaOnly/SeparateCompilation/file1.cu b/Tests/CudaOnly/SeparateCompilation/file1.cu new file mode 100644 index 0000000000..a2e8bf31e7 --- /dev/null +++ b/Tests/CudaOnly/SeparateCompilation/file1.cu @@ -0,0 +1,10 @@ + +#include "file1.h" + +result_type __device__ file1_func(int x) +{ + result_type r; + r.input = x; + r.sum = x*x; + return r; +} |