mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -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.
12 lines
168 B
C++
12 lines
168 B
C++
|
|
|
|
int shared_version();
|
|
int static_version();
|
|
int mixed_version();
|
|
|
|
int main()
|
|
{
|
|
return mixed_version() == 0 && shared_version() == 0 &&
|
|
static_version() == 0;
|
|
}
|