torchkbnufft icon indicating copy to clipboard operation
torchkbnufft copied to clipboard

Allow user control of threading

Open mmuckley opened this issue 3 years ago • 0 comments

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.

mmuckley avatar Oct 25 '22 13:10 mmuckley