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

fix(dnn): fix compile warnings

GitOrigin-RevId: 519a6c0c34b1829f7c19b8e0eb1b51db2ba59a28
上级 a558d4a2
......@@ -20,6 +20,8 @@
namespace megdnn {
namespace {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuninitialized"
////////////////////Store_OC4_OW8_Remain/////////////////////////
template <int ow_remain, typename Op>
struct Store_OC4_OW8_Remain {
......@@ -589,6 +591,7 @@ __ai void store_oc8_ow8_remain_static(T& c, const Op& op, T2 dst_ptr,
int ld_dst_oc) {
Store_OC8_OW8_Remain<ow_remain, Op>::impl(c, op, dst_ptr, ld_dst_oc);
}
#pragma GCC diagnostic pop
//////////////////////////////////////
template <BiasMode bias_mode>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册