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

GPU Hadamard for large N #1879

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

GPU Hadamard for large N #1879

wants to merge 1 commit into from

Conversation

barronalex
Copy link
Collaborator

@barronalex barronalex commented Feb 18, 2025

Add support for large Hadamard transforms on the GPU.

For $N=2^{24}$ the GPU version is about 50x faster than the CPU:

Timing hadamard_transform ... 2.32494 msec
Timing hadamard_transform ... 123.39948 msec

@angeloskath
Copy link
Member

Looks great! As per offline discussion let's move this into the primitive instead.

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