未验证 提交 6c01ce8a 编写于 作者: Y yuehuayingxueluo 提交者: GitHub

fix build bug (#52566)

上级 14fe4b54
......@@ -105,7 +105,7 @@ struct MatmulDescriptor {
is_cached = obj.is_cached;
}
~MatmulDescriptor() {
~MatmulDescriptor() PADDLE_MAY_THROW {
if (!is_cached) {
PADDLE_ENFORCE_GPU_SUCCESS(dynload::cublasLtMatmulDescDestroy(op_desc));
PADDLE_ENFORCE_GPU_SUCCESS(dynload::cublasLtMatrixLayoutDestroy(y_desc));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册