diff --git a/tensorflow/stream_executor/gpu/asm_compiler.cc b/tensorflow/stream_executor/gpu/asm_compiler.cc index 6122ec85c63..45c60dc29ee 100644 --- a/tensorflow/stream_executor/gpu/asm_compiler.cc +++ b/tensorflow/stream_executor/gpu/asm_compiler.cc @@ -228,6 +228,10 @@ port::StatusOr> CompileGpuAsm(int cc_major, int cc_minor, absl::StrFormat("ptxas exited with non-zero error code %d, output: %s", exit_status, stderr_output)); } + // Print the verbose output of ptxas. + if (!stderr_output.empty()) { + VLOG(2) << stderr_output; + } // Read in the result of compilation and return it as a byte vector. std::string cubin;