Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAB committed Dec 29, 2019
1 parent 7e79643 commit dcfeea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dark_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dcfeea3

Please sign in to comment.