hacarus / spm-image

Sparse modeling and Compressive sensing in Python
105 stars 29 forks source link

Parallelizing ADMM #41

Closed jakirkham closed 6 years ago

jakirkham commented 6 years ago

Looking at the n_targets for-loop, it appears that each k can be solved independently from other k's. Given this, it seems like there is a good opportunity to run each k in parallel from other ks. Combining this with the usage of Cython ( https://github.com/hacarus/spm-image/issues/35 ) and releasing the GIL, it should be possible for this to be embarrassingly parallel.

tksmd commented 6 years ago

@jakirkham Thank you for the request. I've implemented parallel execution using joblib and merged in #44. Close this issue.