For use with Julia 1.3's upcoming parallel scheduler in a few months, it would be nice to add an optional threading backend for the partr scheduler to FFTW.
The easiest thing here would be to use fftw_plan_with_nthreads(n) as usual, but instead of n threads it would queue n partr tasks.
Seems like it should be straightforward, but would need some kind of documented C API in partr like partr_spawn(callback_function, dataptr) and partr_sync? cc @kpamnany, @JeffBezanson.
For use with Julia 1.3's upcoming parallel scheduler in a few months, it would be nice to add an optional threading backend for the partr scheduler to FFTW.
The easiest thing here would be to use
fftw_plan_with_nthreads(n)as usual, but instead ofnthreads it would queuenpartr tasks.Seems like it should be straightforward, but would need some kind of documented C API in partr like
partr_spawn(callback_function, dataptr)andpartr_sync? cc @kpamnany, @JeffBezanson.