-
Notifications
You must be signed in to change notification settings - Fork 96
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
One column Matrix Multiplication for Ryzen AI #859
Conversation
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (1/8)
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (2/8)
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (3/8)
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (4/8)
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (5/8)
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (6/8)
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (7/8)
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (8/8)
Coverage ReportCreated: 2023-12-20 08:31Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 14.0.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.
It's really cool to see this in Python, Joe. Much cleaner than with the templates. I know you didn't request a review from me but I hope you don't mind that I left some comments. Feel free to ignore them. The comment I added to the C kernel file is the only one I feel strongly about.
reference_designs/ipu-xrt/matrix_multiplication_column/README.md
Outdated
Show resolved
Hide resolved
5bc8d53
to
5b5f441
Compare
@jgmelber n00b question: is it not possible to write the kernel code (stuff in |
As far as I understand there are still some missing pieces. But verifying the performance of |
|
||
#define zero_scalar_c_func(ctype_in, mlir_type_in, ctype_out, mlir_type_out, \ | ||
r, s, t) \ | ||
void zero_scalar_##mlir_type_out((ctype_out) *c_out) { \ |
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.
[clang-format] reported by reviewdog 🐶
void zero_scalar_##mlir_type_out((ctype_out) *c_out) { \ | |
void zero_scalar_##mlir_type_out((ctype_out) * c_out) { \ |
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
reference_designs/ipu-xrt/matrix_multiplication_column/test.cpp
Outdated
Show resolved
Hide resolved
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (1/1)
reference_designs/MM_2x2/objectFifo_circuit_switched_version/test.cpp
Outdated
Show resolved
Hide resolved
95ba3ab
to
4f19d28
Compare
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (1/3)
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (2/3)
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.
⚠️ Clang-Tidy
found issue(s) with the introduced code (3/3)
8f67aef
to
a48f16e
Compare
Heads up @AndraBisca I marked reference_designs/autocorrelation/objectFifo_version/aie.mlir as XFAIL because it uses old objectfifo syntax that I can't quite patch up. |
f73ce9e
to
a84809d
Compare
Thank you for the heads-up @makslevental. I'll take a look at it very soon, along with all the other reference designs and clean them up. |
No description provided.