Home
last modified time | relevance | path

Searched refs:other_device (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/objects/device/tests/
H A Dex8.c8 PetscDevice device = NULL, other_device = NULL; in main() local
21 PetscCall(PetscDeviceContextGetDevice(dctx, &other_device)); in main()
22 …PetscCall(AssertPetscDevicesValidAndEqual(device, other_device, "PetscDevice after setdevice() doe… in main()
24 PetscCall(PetscDeviceView(other_device, NULL)); in main()
28 PetscCall(PetscDeviceContextGetDevice(dctx, &other_device)); in main()
29 …PetscCall(AssertPetscDevicesValidAndEqual(device, other_device, "PetscDevice after setdevice() doe… in main()
31 PetscCall(PetscDeviceView(other_device, NULL)); in main()
47 PetscCall(PetscDeviceContextGetDevice(dctx, &other_device)); in main()
49 …if (PetscDefined(DEVICELANGUAGE_CXX)) PetscCheck(device != other_device, PETSC_COMM_SELF, PETSC_ER… in main()