Conversation
|
I made a change which was bugging me when I was implementing In Fredholm, This can be simplified to |
|
Thanks @rohanbabbar04 When I suggested we should investigate Allgatherv I did not foresee the issue with non-contiguous arrays. What you propose in the Fredholm code is a bit problematic though. We have used that transpose patterns for a real reason, G is usually much bigger than x, so by transposing twice x (before and after G is applied) we do effectively much fewer operations than transposing G... we do the same in PyLops' original operator, so changing this would require some proper benchmarking to do if the combo of changes you suggest is actually beneficial 😉 |
|
Ah!, Yes in that case we should keep it as before, because when G>>x then G transpose and conj will put pressure on memory. I also think we should keep both |
Closes #169
MPI_AllGathervinmpi_allgather.