mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
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.
9 lines
114 B
C++
9 lines
114 B
C++
|
|
int curand_main();
|
|
int nppif_main();
|
|
|
|
int shared_version()
|
|
{
|
|
return curand_main() == 0 && nppif_main() == 0;
|
|
}
|