summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/DeviceLTO/file1.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CudaOnly/DeviceLTO/file1.cu')
-rw-r--r--Tests/CudaOnly/DeviceLTO/file1.cu8
1 files changed, 1 insertions, 7 deletions
diff --git a/Tests/CudaOnly/DeviceLTO/file1.cu b/Tests/CudaOnly/DeviceLTO/file1.cu
index 703927c..5ca000d 100644
--- a/Tests/CudaOnly/DeviceLTO/file1.cu
+++ b/Tests/CudaOnly/DeviceLTO/file1.cu
@@ -1,16 +1,10 @@
-#ifdef _WIN32
-# define EXPORT __declspec(dllexport)
-#else
-# define EXPORT
-#endif
-
extern __device__ int file2_func(int);
void __global__ kernel(int x)
{
file2_func(x);
}
-EXPORT int launch_kernel(int x)
+int launch_kernel(int x)
{
kernel<<<1, 1>>>(x);
return x;