| @@ -112,6 +112,8 @@ graphStatus CompileNodesPass::GetSupportedKernel(const NodePtr &node, const std: | |||||
| // begin accuracy supported check | // begin accuracy supported check | ||||
| if (!CheckAccuracySupport(kernel_info, instance, op_desc)) { | if (!CheckAccuracySupport(kernel_info, instance, op_desc)) { | ||||
| // if check accuracy support failed , try to go to other engine. | // if check accuracy support failed , try to go to other engine. | ||||
| GELOGW("Check Accuracy Supported return not support, node name is %s, reason: %s. Try to go to other engine.", | |||||
| op_desc->GetName().c_str(), reason.c_str()); | |||||
| string kernel_name_origin = kernel_lib_name; | string kernel_name_origin = kernel_lib_name; | ||||
| OpsKernelManager &ops_kernel_manager = instance->OpsKernelManagerObj(); | OpsKernelManager &ops_kernel_manager = instance->OpsKernelManagerObj(); | ||||
| auto kernel_map = ops_kernel_manager.GetAllOpsKernelInfoStores(); | auto kernel_map = ops_kernel_manager.GetAllOpsKernelInfoStores(); | ||||
| @@ -144,8 +146,6 @@ bool CompileNodesPass::CheckAccuracySupport(const OpsKernelInfoStorePtr &kernel_ | |||||
| } | } | ||||
| string reason; | string reason; | ||||
| if (!(kernel_info->CheckAccuracySupported(*ge_desc, reason, true))) { | if (!(kernel_info->CheckAccuracySupported(*ge_desc, reason, true))) { | ||||
| GELOGW("Check Accuracy Supported return not support, node name is %s, reason: %s. Try to go to AICPU engine.", | |||||
| op_desc->GetName().c_str(), reason.c_str()); | |||||
| return false; | return false; | ||||
| } | } | ||||
| return true; | return true; | ||||