message: Print more information to local logs when `crash_on_checking_failure` flag is on.
diff: @@ -462,9 +462,15 @@ StatusOr<AutotuneResult> CudnnConvAlgorithmPicker::PickBestAlgorithmNoCache(
  *log.mutable_cudnn_version() = GetCudnnVersion(stream_exec_);
  log.set_device_pci_bus_id(
  stream_exec_->GetDeviceDescription().pci_bus_id());
  + // If we crash on checking failure, we are in a testing/benchmark mode, thus
  + // print more information instead of logging to the logger.
  + if (crash_on_checking_failure) {
  + LOG(INFO) << "Autotuning result: " << log.ShortDebugString();
  + } else {
  VLOG(2) << "Autotuning result:\n" << log.DebugString();
  tensorflow::Logger::Singleton()->LogProto(log);
  }
  + }
  // Crash on miscompares and redzone violations if desired. Do this after
  // logging the autotuning results, otherwise we won't get any data!
  