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