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 integer range inference to hal.buffer_view.dim and rank ops. #18943

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

stellaraccident
Copy link
Collaborator

This matches that default range behavior of runtime dimensions we get from frontends.

This matches that default range behavior of runtime dimensions we get from frontends.

Signed-off-by: Stella Laurenzo <stellaraccident@gmail.com>
Signed-off-by: Stella Laurenzo <stellaraccident@gmail.com>
@benvanik
Copy link
Collaborator

Beautiful. We realistically could go lower (virtual address spaces are usually 48 bits), and when we go to workgroup counts we can go even lower (most implementations limit to 32bit xy and 16bit z).

@stellaraccident stellaraccident enabled auto-merge (squash) October 30, 2024 02:15
@stellaraccident stellaraccident merged commit d1dd3e3 into main Oct 30, 2024
39 checks passed
@stellaraccident stellaraccident deleted the int_ranges_hal_dim_rank branch October 30, 2024 02:17
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