Skip to content
Snippets Groups Projects
Commit 1459580e authored by Luka Stanisic's avatar Luka Stanisic
Browse files

temporarily disabled fastest CUDA detection, since it strangely causes error on dvl machine

parent c4d1dff7
No related branches found
No related tags found
1 merge request!2minor fixes
......@@ -290,6 +290,11 @@ 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
......@@ -314,6 +319,7 @@ int bioem_cuda::selectCudaDevice()
bestDeviceSpeed = deviceSpeed;
}
}
#endif
if (getenv("GPUDEVICE"))
{
int device = atoi(getenv("GPUDEVICE"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment