summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/SharedRuntimePlusToolkit/static.cpp
blob: 6932fa3765c3b29fe8d55f9cd3fb5fd5c623530d (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

IMPORT int curand_main();
IMPORT int nppif_main();

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