diff --git a/tensorflow/stream_executor/cuda/cuda_driver.cc b/tensorflow/stream_executor/cuda/cuda_driver.cc index 11b292ea734..41cca3d0c76 100644 --- a/tensorflow/stream_executor/cuda/cuda_driver.cc +++ b/tensorflow/stream_executor/cuda/cuda_driver.cc @@ -313,6 +313,7 @@ static port::Status InternalInit() { } else { LOG(ERROR) << "failed call to cuInit: " << ToString(res); } + Diagnostician::LogDiagnosticInformation(); return port::Status(port::error::ABORTED, absl::StrCat("failed call to cuInit: ", ToString(res)));