We should have some parameter that the user can pass that controls the number of threads used for a NUFFT. Presently we discover the number of threads on the system here. What this feature proposes is to pass in num_threads as a parameter. By default it can be None, which would revert to the current behavior.
This may address issues with using NUFFTs in dataloaders with multiple workers as seen in #73.
We should have some parameter that the user can pass that controls the number of threads used for a NUFFT. Presently we discover the number of threads on the system here. What this feature proposes is to pass in
num_threads
as a parameter. By default it can beNone
, which would revert to the current behavior.This may address issues with using NUFFTs in dataloaders with multiple workers as seen in #73.