For non-windows systems, check for CUDA compiler during runtime
This commit is contained in:
parent
2b7db66edf
commit
f2891d3731
@ -378,7 +378,7 @@ bool cuLibraryInit()
|
||||
|
||||
if(cuHavePrecompiledKernels())
|
||||
result = true;
|
||||
#ifdef _WIN32
|
||||
#ifndef _WIN32
|
||||
else if(cuCompilerPath() != "")
|
||||
result = true;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user