<div dir="ltr">I've tried to add pining the matrix and prolongator to the CPU on coarse grids in GAMG with this:<div><br></div><div><div><div>    /* pin reduced coase grid - could do something smarter */<br>    ierr = MatPinToCPU(*a_Amat_crs,PETSC_TRUE);CHKERRQ(ierr);<br>    ierr = MatPinToCPU(*a_P_inout,PETSC_TRUE);CHKERRQ(ierr);<br></div></div><div><br></div><div>It does not seem to work. It does not look like CUDA has an MatCreateVecs. Should I add one and copy this flag over?<br class="m_999673882240466353gmail-Apple-interchange-newline"></div></div><div><br></div><div>Mark</div></div>