Commit 433e8148 authored by Luka Stanisic's avatar Luka Stanisic

REVERT: temporarily disabled fastest CUDA detection, since it strangely causes...

REVERT: temporarily disabled fastest CUDA detection, since it strangely causes error on dvl machine (reverted from commit 1459580e)
parent 2d278acd
......@@ -405,11 +405,6 @@ int bioem_cuda::selectCudaDevice()
printf("No CUDA device detected\n");
return(1);
}
/* The following code, doing search for a fastest GPU,
is temporarily disabled since it causes initialization
errors on dvl machine. It is safe to ignore warnings
for "bestDeviceSpeed" */
#if 0
for (int i = 0;i < count;i++)
{
#if CUDA_VERSION > 3010
......@@ -434,7 +429,6 @@ int bioem_cuda::selectCudaDevice()
bestDeviceSpeed = deviceSpeed;
}
}
#endif
if (getenv("GPUDEVICE"))
{
int device = atoi(getenv("GPUDEVICE"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment