Barry Smith <bsm...@petsc.dev> writes: > We should make it easy to turn off the logging and synchronizations (from > PetscLogGpu) for everything Vec and below, and everything Mat and below to > remove all the synchronizations needed for the low level timing. I think we > can do that by having PetscLogGpu take a PETSc class id argument.
Or take the PetscObject as an argument, from which we can get the class ID, and if we ever want to allow per-object customization, won't have to revisit these interfaces.