Searched refs:dctx2 (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_device.py | 64 dctx2 = dctx.duplicate() 65 self.assertEqual(dctx2.getRefCount(), 1) 68 dctx2.destroy() 69 self.assertEqual(dctx2.getRefCount(), 0) 77 dctx2 = PETSc.DeviceContext().create() 78 self.assertEqual(dctx2.getRefCount(), 1) 79 dctx2.setUp() 80 dctx.waitFor(dctx2) 83 dctx2.destroy() 84 dctx2.destroy() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | deviceimpl.h | 139 #define PetscCheckCompatibleDeviceContexts(dctx1, argno1, dctx2, argno2) \ argument 141 PetscDeviceContext pccdc_dctx1_ = (dctx1), pccdc_dctx2_ = (dctx2); \ 155 #define PetscCheckCompatibleDeviceContexts(dctx1, argno1, dctx2, argno2) \ argument
|