未验证 提交 66196573 编写于 作者: A Aurelius84 提交者: GitHub

[XPU] Fix Phi Kernel cache problem in operator.cc (#40044)

* [XPU] Fix Phi Kernel cache problem in operator.cc

* fix typo
上级 7a857924
......@@ -1210,6 +1210,9 @@ void OperatorWithKernel::RunImpl(const Scope& scope,
VLOG(6) << "Static mode ChoosePhiKernel - kernel `" << pt_kernel_name
<< "` not found.";
}
} else {
pt_kernel_name = pt_kernel_signature_->name;
pt_kernel_key = TransOpKernelTypeToPhiKernelKey(*kernel_type_.get());
}
#ifdef PADDLE_WITH_XPU
bool is_xpu_unsupport =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册