Asynchronous solvers for SubMeshes #4219
colmenaresj
started this conversation in
General
Replies: 1 comment 4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was wondering if the linear solutions could be done asynchronously on the devices. I don't know if this is currently done already. If not, It could probably be useful to have this. I am thinking in the context of SubMeshes. Let's say you want to solve two subdomains which are maybe coupled at a boundary. From what I understand, you would need to find the solution on one subdomain, wait for the solution to finish, and then solve on the second subdomain. It would be nice if you didn't have to wait for the first solution to finish to launch the second one. If running on NVIDIA, the two could run on different CUDA streams, for example.
I guess the motivation is to do more computations concurrently and to utilize the parallel resources to the maximum. In general it is probably useful to do asynchronous (non-blocking) solves in some cases. I was wondering if this could be done.
Beta Was this translation helpful? Give feedback.
All reactions