-
Notifications
You must be signed in to change notification settings - Fork 17
Update IMEX/LLVM versions #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: dchigarev <dmitry.chigarev@intel.com>
Signed-off-by: dchigarev <dmitry.chigarev@intel.com>
93754dc
to
3f5c79b
Compare
packedAttr = mlir::UnitAttr::get(rewriter.getContext()); | ||
if (!transpose_bit) { | ||
packedAttr = mlir::UnitAttr::get(rewriter.getContext()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying both transpose_bit
and packed
in xegpu.load_nd
is no longer supported. If transpose_bit
is specified then the op already behaves as if packed
was set.
VnniConfig vnniConfA{.vnniFactor = vnniFactor, .vnniAxis = 1}; | ||
VnniConfig vnniConfB{.vnniFactor = vnniFactor, .vnniAxis = 0}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xegpu.dpas
no longer supports A arguments to be a 3D vector
LinalgToXeGPUOptions options{kTile, stages, dpasTile}; | ||
LinalgToXeGPUOptions options{ | ||
kTile, stages, SmallVector<int64_t>(dpasTile.begin(), dpasTile.end())}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the conversion explicitly
error: could not convert ‘dpasTile’ from ‘mlir::Pass::ListOption<long int>’ to ‘llvm::SmallVector<long int>’
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. I'd like to detach linalg-to-xegpu from imex. This seems to be a good time to do that since we'll have the same hash for llvm.
Signed-off-by: dchigarev <dmitry.chigarev@intel.com>
Fixes #392
This PR adapts GC to the new version on IMEX&LLVM.
The "new version of imex" is the
mlir-extension/gc-staging
branch that was rebased ontomlir-extensions/main
. The rebasedgc-staging
branch lives in my own fork for now.How I'm planing to merge this:
dchigarev/mlir-extensions/gc-staging-2
branch intomlir-extensions/gc-staging
----- CI in GC is broken at this point, since it'll try to fetch commits from
gc-staging
that no longer exist -----cmake/imex-version.txt
in this PR (Update IMEX/LLVM versions #399) to point to the new head ofmlir-extensions/gc-staging
.If someone has a better suggestion on how to do it better, I'll be glad to hear it