pySDC icon indicating copy to clipboard operation
pySDC copied to clipboard

Increased performance of tau methods

Open brownbaerchen opened this issue 1 year ago • 1 comments

We need to replace some lines in the matrix with the boundary conditions in tau methods. Then we also need to replace the respective values in the right hand side with the values at the boundary. This PR makes the second part more efficient. After profiling on GPUs, it turns out that the previous implementation was rather expensive. By caching a mask that can streamline this operation, solving systems with already factored matrices is up to 10x faster on GPUs and 2x faster on CPUs than before, depending on resolution.

brownbaerchen avatar Sep 26 '24 10:09 brownbaerchen

Please merge master again

pancetta avatar Sep 29 '24 14:09 pancetta