Hey,Alright, here we go:
I can confirm that this fixes the issues with GPUs. If, on the other
hand, we pick a), then code gets substantially simpler even than it
is now. As noted, the only drawback is that the default
preallocation for on- and off-processor values is the same. I can
live with that.
Still want simpler.
Matt
https://bitbucket.org/petsc/petsc/commits/9200956088015849f17bb1ff07731f2d9638da35
Note that it fixes the problem by removing code only :-)
Best regards,
Karli