summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex/dynamic.cpp
blob: 3848ce7b5609c70f00b403bc265e57cc4e502092 (plain)
1
2
3
4
5
6
7
8
9
10
11

#ifdef _WIN32
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#endif

EXPORT int dynamic_base_func(int x)
{
  return x * x;
}