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

Avoid using cuhpx for nest and XY reordering #22

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

nbren12
Copy link
Collaborator

@nbren12 nbren12 commented Jan 19, 2025

cuhpx is not released yet and can be challenging to install.

the conversions between nest and xy pixel ordering are all vectorized
pytorch code so we don't need cuhpx for that. I have also confirmed that
torch.compile is able to correctly fuse the index conversion and array
loading, so this should be as fast as a hand implementation in cuda.

cuhpx is not open source yet and can be challenging to install.

the conversions between nest and xy pixel ordering are all vectorized
pytorch code so we don't need cuhpx for that. I have also confirmed that
torch.compile is able to correctly fuse the index conversion and array
loading, so this should be as fast as a hand implementation in cuda.
@nbren12 nbren12 requested a review from akshaysubr January 19, 2025 23:31
@nbren12 nbren12 merged commit a5d5a3f into main Jan 23, 2025
2 checks passed
@nbren12 nbren12 deleted the nb/gpu-reorder-wo-cuhpx branch January 23, 2025 17:43
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.

1 participant