diff options
Diffstat (limited to 'Tests/CudaOnly/DeviceLTO/file2.cu')
-rw-r--r-- | Tests/CudaOnly/DeviceLTO/file2.cu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CudaOnly/DeviceLTO/file2.cu b/Tests/CudaOnly/DeviceLTO/file2.cu new file mode 100644 index 0000000..73d6468 --- /dev/null +++ b/Tests/CudaOnly/DeviceLTO/file2.cu @@ -0,0 +1,5 @@ +extern __device__ int file3_func(int); +int __device__ file2_func(int x) +{ + return x + file3_func(x); +} |