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

i want to use your matrixmultiplication kernel ! #70

Open
dfadfajl opened this issue Jan 2, 2025 · 3 comments
Open

i want to use your matrixmultiplication kernel ! #70

dfadfajl opened this issue Jan 2, 2025 · 3 comments

Comments

@dfadfajl
Copy link

dfadfajl commented Jan 2, 2025

I am working on a project that uses multiple kernels, including a matmul kernel. However, the matmul kernel I created doesn't perform very well, so I would like to use the matmul kernel you developed. How can I use it?

If I run make hw, can I obtain your kernel's .xo file? Would I be able to use that?

For reference, I am working on my project using the Vitis IDE GUI.

@definelicht
Copy link
Owner

Sure, that should be possible. You mean from this repository, right?

Keep in mind that this matrix multiplication kernel is meant for very large matrices, so it will not perform well on small matrices 🙂

@dfadfajl
Copy link
Author

thank you for replying!

I'm planning to use the Scalable Matrix Multiplication project, but I'm not sure how to use it.

The kernels I created consist of a single .cpp file, and I connect these kernels in host.cpp.

However, the Scalable Matrix Multiplication project has a large number of files just to construct a single kernel, so I'm not sure how to use it in the Vitis GUI.

Could you guide me on how to set it up?

@definelicht
Copy link
Owner

You would need to build it as a separate kernel .xo file, and then connect it to the right AXI ports during the linking stage. You can find documentation on how to do this in the Vitis documentation 🙂

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

No branches or pull requests

2 participants