From 1459580ec1bb385e8b1adfb82559df026d39acb0 Mon Sep 17 00:00:00 2001 From: Luka Stanisic Date: Fri, 16 Jun 2017 10:52:01 +0200 Subject: [PATCH] temporarily disabled fastest CUDA detection, since it strangely causes error on dvl machine --- bioem_cuda.cu | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bioem_cuda.cu b/bioem_cuda.cu index 26535b3..f2f86bb 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")); -- GitLab