From dcfeea30f195e0ca1210d580cac8b91b6beaf3f7 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Sun, 29 Dec 2019 15:12:22 +0300 Subject: [PATCH] Compile fix --- src/dark_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dark_cuda.c b/src/dark_cuda.c index 0da67a3c..7606be3c 100644 --- a/src/dark_cuda.c +++ b/src/dark_cuda.c @@ -481,7 +481,7 @@ void show_cuda_cudnn_info() CHECK_CUDA(cudaRuntimeGetVersion(&cuda_version)); CHECK_CUDA(cudaDriverGetVersion(&cuda_driver_version)); fprintf(stderr, " CUDA-version: %d (%d)", cuda_version, cuda_driver_version); - if(cuda_version < cuda_driver_version) printf(stderr, "\n Warning: CUDA-version is lower than Driver-version! \n"); + if(cuda_version < cuda_driver_version) fprintf(stderr, "\n Warning: CUDA-version is lower than Driver-version! \n"); #ifdef CUDNN fprintf(stderr, ", cuDNN: %d.%d.%d", CUDNN_MAJOR, CUDNN_MINOR, CUDNN_PATCHLEVEL); #endif // CUDNN