diff --git a/bioem_cuda.cu b/bioem_cuda.cu index 26535b3b1ea8f755766b0ac8df941a512b675996..f2f86bb7c38143c95c6d03e905dca9d5afb93773 100644 --- a/bioem_cuda.cu +++ b/bioem_cuda.cu @@ -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"));