Do more comprehensive setting of the hypre memory location#4035
Do more comprehensive setting of the hypre memory location#4035lindsayad merged 1 commit intolibMesh:develfrom
Conversation
It's not enough to check the top-level PC for PCHYPRE because we may be doing a field split. We also must remember to control the memory location for linear solves as well
roystgnr
left a comment
There was a problem hiding this comment.
I'll take your word on the answer but: why do we need to do all this ourselves? PETSc is kind enough to even initialize MPI by default; you'd think if they know a vector has mem type host and they know they're using HYPRE then they'd take charge of passing that info along.
|
What I would say is that by the time you are doing |
It's not enough to check the top-level PC for PCHYPRE because we may be doing a field split. We also must remember to control the memory location for linear solves as well