From 05ffc1331e06e7d8ad800db72e03494d03697696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=BBelazko?= Date: Fri, 6 Jul 2018 10:13:06 +0200 Subject: [PATCH] log for fallback added --- paddle/fluid/framework/operator.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/framework/operator.cc b/paddle/fluid/framework/operator.cc index 0122794b845..98e72dfc0df 100644 --- a/paddle/fluid/framework/operator.cc +++ b/paddle/fluid/framework/operator.cc @@ -637,6 +637,7 @@ void OperatorWithKernel::RunImpl(const Scope& scope, // workaround for missing MKLDNN kernel when FLAGS_use_mkldnn env var is set if (kernel_iter == kernels.end() && expected_kernel_key.library_type_ == LibraryType::kMKLDNN) { + VLOG(3) << "missing MKLDNN kernel: fallbacking to PLAIN one"; expected_kernel_key.library_type_ = LibraryType::kPlain; expected_kernel_key.data_layout_ = DataLayout::kAnyLayout; kernel_iter = kernels.find(expected_kernel_key); -- GitLab