diff --git a/paddle/phi/kernels/funcs/fused_gemm_epilogue.h b/paddle/phi/kernels/funcs/fused_gemm_epilogue.h index 4f1a1c6f0bde1d7447cfe65b2cbf9238f581cb3f..8a2309ba26000fd79b726e8632e775cf4441247a 100644 --- a/paddle/phi/kernels/funcs/fused_gemm_epilogue.h +++ b/paddle/phi/kernels/funcs/fused_gemm_epilogue.h @@ -535,8 +535,10 @@ void ComputeFusedGemmEpilogueBackwardImpl(const phi::GPUContext& dev_ctx, bool use_addto_dx, bool use_addto_dy) { using MT = typename phi::dtype::MPTypeTrait::Type; - static_assert(std::is_same::value || std::is_same::value); - static_assert(std::is_same::value || std::is_same::value); + static_assert(std::is_same::value || std::is_same::value, + ""); + static_assert(std::is_same::value || std::is_same::value, + ""); using Trait = FusedGEMMGradTrait; if (dx) {