Commit 6eeb6ce4 authored by Luka Stanisic's avatar Luka Stanisic

cosmetics

parent a0474f31
...@@ -626,7 +626,7 @@ int bioem::run() ...@@ -626,7 +626,7 @@ int bioem::run()
else if (iConv == 7) else if (iConv == 7)
{ {
workload = (int) 100 * ( compTime / (best_time+compTime) ); workload = (int) 100 * ( compTime / (best_time+compTime) );
if (DebugOutput >= 1) if (DebugOutput >= 2)
{ {
printf("\t\tComparison on GPU only time: %.6f\n", best_time); printf("\t\tComparison on GPU only time: %.6f\n", best_time);
printf("\t\tComparison on CPU only time: %.6f\n", compTime); printf("\t\tComparison on CPU only time: %.6f\n", compTime);
......
...@@ -409,7 +409,7 @@ int bioem_cuda::selectCudaDevice() ...@@ -409,7 +409,7 @@ int bioem_cuda::selectCudaDevice()
is temporarily disabled since it causes initialization is temporarily disabled since it causes initialization
errors on dvl machine. It is safe to ignore warnings errors on dvl machine. It is safe to ignore warnings
for "bestDeviceSpeed" */ for "bestDeviceSpeed" */
#if 0 #if 0
for (int i = 0;i < count;i++) for (int i = 0;i < count;i++)
{ {
#if CUDA_VERSION > 3010 #if CUDA_VERSION > 3010
...@@ -434,7 +434,7 @@ int bioem_cuda::selectCudaDevice() ...@@ -434,7 +434,7 @@ int bioem_cuda::selectCudaDevice()
bestDeviceSpeed = deviceSpeed; bestDeviceSpeed = deviceSpeed;
} }
} }
#endif #endif
if (getenv("GPUDEVICE")) if (getenv("GPUDEVICE"))
{ {
int device = atoi(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