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())
|
if(cuHavePrecompiledKernels())
|
||||||
result = true;
|
result = true;
|
||||||
#ifdef _WIN32
|
#ifndef _WIN32
|
||||||
else if(cuCompilerPath() != "")
|
else if(cuCompilerPath() != "")
|
||||||
result = true;
|
result = true;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user