[Mlir-commits] [mlir] [mlir][AMDGPU] Enable emulating vector buffer_atomic_fadd for bf16 on gfx942 (PR #129029)
Matt Arsenault
llvmlistbot at llvm.org
Thu Feb 27 02:24:22 PST 2025
================
@@ -189,6 +189,14 @@ void mlir::amdgpu::populateAmdgpuEmulateAtomicsPatterns(
} else {
target.addIllegalOp<RawBufferAtomicFmaxOp>();
}
+ // gfx950 has bf16 atomics
+ if (chipset < Chipset(9, 5, 0)) {
----------------
arsenm wrote:
Also is there something special about this emulation? Why can't you use the ordinary backend AtomicExpand handling?
https://github.com/llvm/llvm-project/pull/129029
More information about the Mlir-commits
mailing list