diff options
Diffstat (limited to 'Tests/Module/CheckIPOSupported-CUDA/foo.cu')
-rw-r--r-- | Tests/Module/CheckIPOSupported-CUDA/foo.cu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Module/CheckIPOSupported-CUDA/foo.cu b/Tests/Module/CheckIPOSupported-CUDA/foo.cu new file mode 100644 index 0000000000..416607bddc --- /dev/null +++ b/Tests/Module/CheckIPOSupported-CUDA/foo.cu @@ -0,0 +1,4 @@ +extern __device__ int foo_func(int a) +{ + return a * 42 + 9; +} |