Hey again,
I normally use this for array arguments (in z, not in alpha or beta) so at first I just had a convenience function which did an array comprehension on the original mittleff function.
However, I did some benchmarking last week with @parallel, pmap and @threads and found that @threads provides a fairly consistent speedup of 2-3x for array arguments. Is this something you would be interesting in absorbing into this package? If so I can set up a pull request.
The tricky thing is that @threads is still an 'experimental' feature in Julia as of v0.6.
Cheers
Louis
Edit: see https://github.com/rheos-cambridge/ParallelMittLeff/blob/master/test_mittleff.jl for more info
Hey again,
I normally use this for array arguments (in z, not in alpha or beta) so at first I just had a convenience function which did an array comprehension on the original mittleff function.
However, I did some benchmarking last week with @parallel, pmap and @threads and found that @threads provides a fairly consistent speedup of 2-3x for array arguments. Is this something you would be interesting in absorbing into this package? If so I can set up a pull request.
The tricky thing is that @threads is still an 'experimental' feature in Julia as of v0.6.
Cheers
Louis
Edit: see https://github.com/rheos-cambridge/ParallelMittLeff/blob/master/test_mittleff.jl for more info