aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar Justin Lebar <jlebar@google.com>2018-08-03 13:45:45 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-03 13:50:29 -0700
commit96eb2ab8ce3e0ec7dfc0de2dca19a0e6fa91c94c (patch)
tree3dc8d864807e4cfa3b48530aeadd5d4559748691 /tensorflow
parent1a2e361819c1e27bb3b6152f741fbc4bdceee2d3 (diff)
[XLA:GPU] Add VLOG to ForThunk.
PiperOrigin-RevId: 207317857
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/compiler/xla/service/gpu/for_thunk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/service/gpu/for_thunk.cc b/tensorflow/compiler/xla/service/gpu/for_thunk.cc
index b3a3c5dcb4..2fd2206324 100644
--- a/tensorflow/compiler/xla/service/gpu/for_thunk.cc
+++ b/tensorflow/compiler/xla/service/gpu/for_thunk.cc
@@ -43,6 +43,8 @@ Status ForThunk::Initialize(const GpuExecutable& executable,
Status ForThunk::ExecuteOnStream(const BufferAllocations& buffer_allocations,
se::Stream* stream,
HloExecutionProfiler* profiler) {
+ VLOG(2) << "Executing ForThunk with " << loop_limit_ << " iters for "
+ << (hlo_instruction() ? hlo_instruction()->ToString() : "<null>");
auto op_profiler = profiler->MakeScopedInstructionProfiler(hlo_instruction());
for (int64 i = 0; i < loop_limit_; ++i) {
profiler->StartHloComputation();