提交 1eaf32cd 编写于 作者: M Megvii Engine Team 提交者: huangxinda

fix(mgb): fix typo in message

GitOrigin-RevId: 92d778b5df2a146c70ae220b3354d63b0f1b270d
上级 7225b0f0
......@@ -1163,7 +1163,7 @@ size_t AlgoChooser<Opr>::setup_algo(const FixedTensorLayouts& layouts,
Algorithm* palgo = megdnn_opr->get_algorithm_from_desc(policy.algo);
mgb_assert(palgo, "Unknown algo description");
ret.append("): algo=" + std::string(palgo->name()));
ret.append(ssprintf(" workspace=%.2fMiB attirbute=%d",
ret.append(ssprintf(" workspace=%.2fMiB attribute=%d",
workspace / (1024 * 1024.0),
static_cast<uint32_t>(palgo->attribute())));
mgb_log_debug("%s", ret.c_str());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册