summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp')
-rw-r--r--Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp b/Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp
new file mode 100644
index 0000000..9967b66
--- /dev/null
+++ b/Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp
@@ -0,0 +1,8 @@
+
+int curand_main();
+int nppif_main();
+
+int shared_version()
+{
+ return curand_main() == 0 && nppif_main() == 0;
+}