summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex/mixed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/Complex/mixed.cpp')
-rw-r--r--Tests/Cuda/Complex/mixed.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/Cuda/Complex/mixed.cpp b/Tests/Cuda/Complex/mixed.cpp
new file mode 100644
index 0000000..205f091
--- /dev/null
+++ b/Tests/Cuda/Complex/mixed.cpp
@@ -0,0 +1,14 @@
+
+int dynamic_base_func(int);
+int cuda_dynamic_host_func(int);
+int file3_launch_kernel(int);
+
+int dynamic_final_func(int x)
+{
+ return cuda_dynamic_host_func(dynamic_base_func(x));
+}
+
+int call_cuda_seperable_code(int x)
+{
+ return file3_launch_kernel(x);
+}