-
Notifications
You must be signed in to change notification settings - Fork 83
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
Python: Can cufinufft automatically figure out gpu_device_id
?
#420
Comments
Does it also break if you specify the device id explicitly in the kwargs?
|
@lu1and10 no, that seems to have fixed it (sorry for not chasing through enough So this issue can be re-worded as a feature request: can |
gpu_device_id
?
Yes, I guess so. It will be a nice feature that device can be inferred from inputs. |
Originally reported downstream: flatironinstitute/pytorch-finufft#103
The following will segfault with either a
Fatal Python error: aborted
orFatal Python error: PyThreadState_Get: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
If you change to
cuda:0
for both arrays it seems to work fine.The full error I get is
The text was updated successfully, but these errors were encountered: