aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Peter Hawkins <phawkins@google.com>2017-03-31 14:41:01 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-31 16:28:13 -0700
commit17878b9c3efca641894446e163478ae6ab4f954c (patch)
tree24b594dfd677a3e0f909aca94dc70489a2134896
parent945a84bb041bab77318e7c9236305190dea759b5 (diff)
[TF:XLA] Add a VLOG() to log the operators registered by the XlaOpRegistry.
Change: 151877152
-rw-r--r--tensorflow/compiler/tf2xla/xla_op_registry.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/compiler/tf2xla/xla_op_registry.cc b/tensorflow/compiler/tf2xla/xla_op_registry.cc
index 5b895bfdf6..13fdfc3b0c 100644
--- a/tensorflow/compiler/tf2xla/xla_op_registry.cc
+++ b/tensorflow/compiler/tf2xla/xla_op_registry.cc
@@ -167,6 +167,8 @@ void XlaOpRegistry::RegisterCompilationKernels() {
!backend.second.op_filter(kdef.get())) {
continue;
}
+ VLOG(2) << "XLA op registration: device: " << backend.first
+ << " op: " << op.first;
registry.kernel_registrars_.emplace_back(
new kernel_factory::OpKernelRegistrar(
new KernelDef(*kdef), "XlaJitOp", op.second->factory));