We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 565808e commit 2d8e1d2Copy full SHA for 2d8e1d2
third_party/intel/triton_xpu.cc
@@ -293,7 +293,7 @@ void init_triton_intel(py::module &&m) {
293
if (auto *op = dyn_cast<FPMathOperator>(&inst)) {
294
FastMathFlags FMF;
295
// Default to allow contract when default fp fusion is not disabled.
296
- if ((!enableFpFusion.has_value() || enableFpFusion.value()) &&
+ if ((enableFpFusion.has_value() && enableFpFusion.value()) &&
297
!fastMath.has_value()) {
298
if (op->getOpcode() == Instruction::FAdd ||
299
op->getOpcode() == Instruction::FMul)
0 commit comments