[Mlir-commits] [mlir] [uArch][XeGPU] Add XeGPU uArch definition. (PR #153706)

Adam Siemieniuk llvmlistbot at llvm.org
Thu Aug 21 09:02:19 PDT 2025


================
@@ -35,6 +36,14 @@ void XeGPUDialect::initialize() {
 #define GET_ATTRDEF_LIST
 #include <mlir/Dialect/XeGPU/IR/XeGPUAttrs.cpp.inc>
       >();
+
+  // Populate the uArchMap with the supported target devices
----------------
adam-smnk wrote:

I don't think it belong to dialect initializer.
Besides that, let's start with a simple design and let users create `uArch` instances on demand.

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


More information about the Mlir-commits mailing list