For non-windows systems, check for CUDA compiler during runtime

This commit is contained in:
Antony Riakiotakis 2013-01-14 19:33:16 +00:00
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