未验证 提交 89bcf894 编写于 作者: R risemeup1 提交者: GitHub

fix gcc12 error (#54535)

上级 96529ecc
......@@ -39,8 +39,9 @@ if(WITH_AVX
AND AVX512F_FLAG
AND WITH_MKL)
op_library(self_dp_attention_op)
set_target_properties(self_dp_attention_op PROPERTIES COMPILE_FLAGS
"-mfma ${AVX512F_FLAG}")
set_target_properties(
self_dp_attention_op
PROPERTIES COMPILE_FLAGS "-Wno-maybe-uninitialized -mfma ${AVX512F_FLAG}")
endif()
if(WITH_XPU)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册