Fix CUDA detection code on linux.
This commit is contained in:
parent
1c5da0e341
commit
7df0885c4f
@ -75,7 +75,7 @@ static bool isCudaDriverAvailable(uint version)
|
||||
#if NV_OS_WIN32
|
||||
Library nvcuda("nvcuda.dll");
|
||||
#else
|
||||
Library nvcuda(NV_LIBRARY_NAME("cuda"));
|
||||
Library nvcuda(NV_LIBRARY_NAME(cuda));
|
||||
#endif
|
||||
|
||||
if (!nvcuda.isValid())
|
||||
|
Loading…
Reference in New Issue
Block a user