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

De-template the sup_var1n2m code and combine A/B packing functions. #659

Merged
merged 5 commits into from
Sep 18, 2022

Conversation

devinamatthews
Copy link
Member

No description provided.

devinamatthews and others added 4 commits July 13, 2022 15:28
This enables better debugging since errors will show up based on the un-flattened filename and line number.
# Conflicts:
#	build/flatten-headers.py
#	frame/3/bli_l3_sup_var1n2m.c
@devinamatthews
Copy link
Member Author

@fgvanzee ready to review and merge.

@fgvanzee
Copy link
Member

@devinamatthews This looks good. You did a great job of keeping formatting and limiting changes to just those necessary for the de-templatization, which made it much easier to compare the before and after. 👍

I converted some /* */-style comments to //. Looks ready to go to me, but I'll wait until the CIs finish.

@fgvanzee fgvanzee merged commit 89df7b8 into master Sep 18, 2022
@devinamatthews devinamatthews deleted the thrinfo_changes branch October 28, 2022 16:49
fgvanzee added a commit that referenced this pull request Oct 26, 2023
Details:
- Re-expressed the two variants in frame/3/bli_l3_sup_var1n2m.c as a
  single function each that performs char* pointer arithmetic rather
  than four datatype-specific functions. Did the same for the functions
  in bli_l3_sup_packm_a.c and _sup_packm_b.c, and then unified the two
  into a single set of functions for packing either A or B, which now
  resides in bli_l3_sup_packm.c.
- Pre-grow the cntl_t tree in both bli_l3_sup_var1n2m.c variants rather
  than grow them incrementally.
- Relocated empty-matrix and scale-by-beta early return handlnig from
  bli_gemm_front() and bli_gemmt_front() to their _ex() counterparts.
- Comment, whitespace updates.
- (cherry picked from commit 89df7b8)
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.

2 participants