Skip to content
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

[XPU][TritonIntelGPU] Fix issue in convert DotOp A layout to LinearLayout of DPAS. #2766

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

chengjunlu
Copy link
Contributor

The code was using the old layout for DPAS operand A.

Update the code to the new layout which is supported by the OCL interface.

@chengjunlu chengjunlu force-pushed the chengjun/fix_dot_a_ll_cvt branch from fbf9fc1 to fb0efdf Compare November 20, 2024 07:14
@chengjunlu chengjunlu changed the title [BACKEND] Fix issue in convert DotOp A layout to LinearLayout of DPAS. [XPU][TritonIntelGPU] Fix issue in convert DotOp A layout to LinearLayout of DPAS. Nov 20, 2024
@chengjunlu chengjunlu force-pushed the chengjun/fix_dot_a_ll_cvt branch 2 times, most recently from 090d13e to 13ce636 Compare November 21, 2024 05:06
@@ -602,8 +614,7 @@ std::optional<LinearLayout>
dotOperandDpasToLinearLayout(DotOperandEncodingAttr dotDpasLayout,
ArrayRef<int64_t> shape) {
auto dpasLayout = cast<intel::DpasEncodingAttr>(dotDpasLayout.getParent());
if (dotDpasLayout.getOpIdx() == 0)
return std::nullopt;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enable the DotOp A layout to LL layout conversion.

@chengjunlu chengjunlu merged commit 816d7ef into main Nov 22, 2024
5 checks passed
@chengjunlu chengjunlu deleted the chengjun/fix_dot_a_ll_cvt branch November 22, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the DPAS layout documents and code for the latest OCL DPAS interface.
3 participants