Searched refs:devices (Results 1 – 4 of 4) sorted by relevance
9 PetscDevice devices[10]; in main() local20 …PetscCheck(PETSC_STATIC_ARRAY_LENGTH(devices) == n, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Forgot to up… in main()33 PetscCall(PetscArrayzero(devices, n)); in main()38 devices[i] = device; in main()42 PetscCall(PetscDeviceDestroy(&devices[i])); in main()44 PetscCall(AssertDeviceDoesNotExist(devices[i])); in main()51 PetscCall(PetscArrayzero(devices, n)); in main()62 devices[i] = device; in main()66 PetscCall(PetscDeviceDestroy(&devices[i])); in main()68 PetscCall(AssertDeviceDoesNotExist(devices[i])); in main()
84 devices. Now it can handle other devices that Kokkos supports when
32 - Add `PetscDevice` class to manage discovered GPU devices
613 resonances in nanophotonic devices, and the other one from a problem in