LSSTDESC / CCL

DESC Core Cosmology Library: cosmology routines with validated numerical accuracy
BSD 3-Clause "New" or "Revised" License
140 stars 64 forks source link

PERF add OpenMP to the lensing tracer window function integrals #719

Closed beckermr closed 4 years ago

beckermr commented 4 years ago

This is the next thing taking time.

c-d-leonard commented 4 years ago

@beckermr silly question perhaps but how would the parallelization work? It's not obvious to me how to split this computation up into nicely separated bits (this might just be me not understanding how OpenMP works)

damonge commented 4 years ago

@c-d-leonard we need to compute W(r) at different values of r, so one could parallelize the loop over those rs.

beckermr commented 4 years ago

Yes I should have added more notes. There is a loop of integrals that can be done in parallel.