Detect CUDA 2.1 properly.
This commit is contained in:
parent
093d0a8afa
commit
846536b8e0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user