Closed winni2k closed 4 years ago
Oh wow, yeah. It does indeed look like the calculation for each target is independent of the other ones. Let’s do it!
Thanks, -Kiran On Mar 24, 2020, 6:13 AM -0400, Winni Kretzschmar notifications@github.com, wrote:
Karl Johan and I dug into the tesserae code today. The __recurrence method does not really use any numpy vectorization, when it really should. We think that perhaps the for loop at https://github.com/castcollab/tesserae2/blob/master/src/cortexpy/tesserae.py#L355, which iterates over targets could be parallelized using numpy? @kvg what are your thoughts on this? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@karljohanw, I think you were looking to implement this, right?
Karl Johan and I dug into the tesserae code today. The
__recurrence
method does not really use any numpy vectorization, when it really should.We think that perhaps the for loop at https://github.com/castcollab/tesserae2/blob/master/src/cortexpy/tesserae.py#L355, which iterates over
targets
could be parallelized using numpy? @kvg what are your thoughts on this?