Files
CMake/Tests/Cuda/StaticRuntimePlusToolkit/shared.cpp
Robert Maynard 6e474364d1 CUDAToolkit: No targets now depend on the CUDA runtime
It is not a requirement to have shared|static consistent across your
CUDA libraries (e.g curand, nppc ) and your CUDA runtime library.
It is entirely allowable to use a static nppc and a shared runtime.
2020-01-14 13:50:37 -05:00

9 lines
114 B
C++

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