summaryrefslogtreecommitdiff
path: root/Tests/Module/CheckIPOSupported-CUDA/foo.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/CheckIPOSupported-CUDA/foo.cu')
-rw-r--r--Tests/Module/CheckIPOSupported-CUDA/foo.cu4
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;
+}