[Mlir-commits] [mlir] [MLIR][AMDGPU] Add OCP FP8 support for new hardware (PR #127728)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Feb 20 13:09:50 PST 2025


================
@@ -49,6 +49,14 @@ struct Chipset {
 #undef DEFINE_COMP_OPERATOR
 };
 
+inline bool isGfx940Series(const Chipset &chipset) {
+  return chipset.majorVersion == 9 && chipset.minorVersion == 4;
+}
+inline bool hasOcpFp8(const Chipset &chipset) {
----------------
krzysz00 wrote:

Will then we'll keep `hasOcpFp8` as requested, then. No big deal.

https://github.com/llvm/llvm-project/pull/127728


More information about the Mlir-commits mailing list