ex1.c: Tests creation and destruction of PetscDevice ex2.c: Tests creation and destruction of PetscDeviceContext ex3.c: Tests PetscDeviceContextDuplicate makefile