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

Fix density update for gpuNUFFT #190

Merged
merged 9 commits into from
Sep 23, 2024

Conversation

chaithyagr
Copy link
Member

@chaithyagr chaithyagr commented Sep 12, 2024

This is quite straightforward. I will just update the tests. This resolves #189

@chaithyagr chaithyagr marked this pull request as ready for review September 12, 2024 09:27
@chaithyagr chaithyagr self-assigned this Sep 12, 2024
@paquiteau
Copy link
Member

LGTM, merge when green :)

chaithyagr added 2 commits September 12, 2024 15:10
Comment on lines 174 to 175
if operator.backend == "cufinufft":
jitter = to_interface(jitter, "cupy")
Copy link
Member

Choose a reason for hiding this comment

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

This kind of patch should rather be directly implemented in code. If the user update cufinufft density it is updated as a cupy vector internally (or we raise an error)

Copy link
Member Author

Choose a reason for hiding this comment

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

Lol yes.

@paquiteau paquiteau merged commit 42acac4 into mind-inria:master Sep 23, 2024
9 of 12 checks passed
@chaithyagr chaithyagr deleted the gpunufft_dens branch September 23, 2024 11:39
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.

Add support to disable density compensation,
2 participants