Skip to content

Conversation

shalinib-ibm
Copy link
Owner

In class tinyBLAS_PPC, previously, packing of input matrices A and B was performed on-the-fly within each GEMM microkernel. This patch refactors the code to decouple packing from kernel by introducing a preprocessing step that packs matrices once before any kernel is invoked.

Make sure to read the contributing guidelines before submitting a PR

In class tinyBLAS_PPC, previously, packing of input matrices A and B
was performed on-the-fly within each GEMM microkernel.
This patch refactors the code to decouple packing from kernel
by introducing a preprocessing step that packs matrices once before any kernel is invoked.

Benefits:
- Enables better memory locality and data reuse
- Simplifies the kernel logic by focusing purely on computation
- Improves overall GEMM performance, especially for large matrix sizes

Signed-off-by: Shalini Salomi Bodapati <[email protected]>
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.

1 participant