summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/Complex/main.cpp')
-rw-r--r--Tests/Cuda/Complex/main.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Tests/Cuda/Complex/main.cpp b/Tests/Cuda/Complex/main.cpp
index 32312d0..5a3f820 100644
--- a/Tests/Cuda/Complex/main.cpp
+++ b/Tests/Cuda/Complex/main.cpp
@@ -3,8 +3,14 @@
#include "file1.h"
#include "file2.h"
-int call_cuda_seperable_code(int x);
-int mixed_launch_kernel(int x);
+#ifdef _WIN32
+#define IMPORT __declspec(dllimport)
+#else
+#define IMPORT
+#endif
+
+IMPORT int call_cuda_seperable_code(int x);
+IMPORT int mixed_launch_kernel(int x);
int main(int argc, char** argv)
{