summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/SharedRuntimePlusToolkit/shared.cpp
blob: f3c3dbc634bbc52b372ca7d238ceacf4f0fc7456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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

int curand_main();
int nppif_main();

EXPORT int shared_version()
{
  return curand_main() == 0 && nppif_main() == 0;
}