ggml : refactor llamafile_sgemm PPC code (#14673)

Remove un-necessary templates from class definition and packing functions
Reduce deeply nested conditionals, if-else switching in mnapck function
Replace repetitive code with inline functions in Packing functions

2 ~ 7% improvement in Q8 Model
15 ~ 50% improvement in Q4 Model

Signed-off-by: Shalini Salomi Bodapati <Shalini.Salomi.Bodapati@ibm.com>
This commit is contained in:
shalinib-ibm 2025-07-14 18:46:42 +05:30 committed by GitHub
parent 9c9e4fc635
commit 55c509daf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 340 additions and 1091 deletions

File diff suppressed because it is too large Load Diff