<div dir="ltr">PETSc mallocs seem to boil down to PetscMallocAlign. There are switches in here but I don't see a Cuda malloc. THis would seem to be convenient if I want to create an Object entirely on Cuda or any device. <div><br><div>Are there any thoughts along these lines or should I just duplicate Mat creation, for instance, by hand?</div></div></div>