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

tensor_ext: adds tensor_ext.simd_encoding attribute to describe SIMD packing #719

Merged
merged 0 commits into from
Jun 11, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Jun 5, 2024

tensor_ext: adds tensor_ext.simd_encoding attribute to describe SIMD packing

Part of #704

lib/Dialect/TensorExt/IR/TensorExtAttributes.td Outdated Show resolved Hide resolved
Copy link
Collaborator

@AlexanderViand-Intel AlexanderViand-Intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks great as a starting point for better SIMD support! My only concern would be the name simd_encoding, since "encoding" is very overloaded in RLWE-style FHE. For example, people might expect this to be about how (already correctly sized) vectors of integers are converted into actual polynomials.

How about we call this attribute simd_replication/simd_mapping or something like that?

@j2kun
Copy link
Collaborator

j2kun commented Jun 6, 2024

Or perhaps the name we use informally: packing

@AlexanderViand-Intel
Copy link
Collaborator

Or perhaps the name we use informally: packing

I think that'd work much better than my suggestions 👍

@asraa
Copy link
Collaborator

asraa commented Jun 7, 2024

Name & format changed, thank you!

@asraa asraa added the pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing label Jun 7, 2024
Copy link
Collaborator

@AlexanderViand-Intel AlexanderViand-Intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants