Detect CUDA 2.1 properly.

This commit is contained in:
castano 2009-01-17 03:21:24 +00:00
parent 1ec9f130e2
commit bd7013a37b

View File

@ -91,7 +91,7 @@ static bool isCudaDriverAvailable(uint version)
if (version >= 2010) if (version >= 2010)
{ {
void * address = nvcuda.bindSymbol("cuLoadDataEx"); void * address = nvcuda.bindSymbol("cuModuleLoadDataEx");
if (address == NULL) return false; if (address == NULL) return false;
} }