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

Add HF datalayouts #2055

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add HF datalayouts #2055

wants to merge 1 commit into from

Conversation

charleskawczynski
Copy link
Member

This PR adds support for new datalayouts:

  • VIJHF
  • IJHF
  • IHF
  • VIHF

For these new datalayouts, and other datalayouts that end with the field index, we'll be able to add fast paths for linear indexing. This will simply involve reviving #1922, and specializing on all datalayouts with the field index at the end.

Finally, we can compare this with our VIJFH datalayout performance.

To make this work with our existing implementation, users can now make horizontal spaces with a new keyword argument:
HorizontalLayout = DataLayouts.IJFH, which users may change to HorizontalLayout = DataLayouts.IJHF to try the new datalayout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant