[Mlir-commits] [mlir] [uArch][XeGPU] Add XeGPU uArch definition. (PR #153706)
Md Abdullah Shahneous Bari
llvmlistbot at llvm.org
Tue Aug 26 21:07:36 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
----------------
mshahneo wrote:
I can remove this from the dialect initializer.
I kept it here because this way, the uArch map is populated once the dialect is loaded. Any pass or the dialect can use it from there on. But other option can also work, where we a pass can initialize the uArch map and use it afterwards.
Any specific reason why it can't be in dialect initializer?
https://github.com/llvm/llvm-project/pull/153706
More information about the Mlir-commits
mailing list