Print the ptxas command line as higher VLOG level.
This commit is contained in:
parent
256cfa1823
commit
3946ad2bfd
|
@ -214,6 +214,10 @@ port::StatusOr<std::vector<uint8>> CompileGpuAsm(int cc_major, int cc_minor,
|
|||
}
|
||||
ptxas_args.insert(ptxas_args.end(), options.extra_flags.begin(),
|
||||
options.extra_flags.end());
|
||||
if (VLOG_IS_ON(3)) {
|
||||
VLOG(3) << absl::StrJoin(ptxas_args, " ");
|
||||
}
|
||||
|
||||
ptxas_info_dumper.SetProgram(ptxas_path, ptxas_args);
|
||||
ptxas_info_dumper.SetChannelAction(tensorflow::CHAN_STDERR,
|
||||
tensorflow::ACTION_PIPE);
|
||||
|
|
Loading…
Reference in New Issue