petsc4py.PETSc.DeviceContext ============================ .. autoclass:: petsc4py.PETSc.DeviceContext :show-inheritance: .. rubric:: Enumerations .. autosummary:: :toctree: ~petsc4py.PETSc.DeviceContext.DeviceJoinMode ~petsc4py.PETSc.DeviceContext.StreamType .. rubric:: Methods Summary .. autosummary:: ~petsc4py.PETSc.DeviceContext.create ~petsc4py.PETSc.DeviceContext.duplicate ~petsc4py.PETSc.DeviceContext.fork ~petsc4py.PETSc.DeviceContext.getCurrent ~petsc4py.PETSc.DeviceContext.getDevice ~petsc4py.PETSc.DeviceContext.getStreamType ~petsc4py.PETSc.DeviceContext.idle ~petsc4py.PETSc.DeviceContext.join ~petsc4py.PETSc.DeviceContext.setCurrent ~petsc4py.PETSc.DeviceContext.setDevice ~petsc4py.PETSc.DeviceContext.setFromOptions ~petsc4py.PETSc.DeviceContext.setStreamType ~petsc4py.PETSc.DeviceContext.setUp ~petsc4py.PETSc.DeviceContext.synchronize ~petsc4py.PETSc.DeviceContext.waitFor .. rubric:: Attributes Summary .. autosummary:: ~petsc4py.PETSc.DeviceContext.current ~petsc4py.PETSc.DeviceContext.device ~petsc4py.PETSc.DeviceContext.stream_type .. rubric:: Methods Documentation .. automethod:: create .. automethod:: duplicate .. automethod:: fork .. automethod:: getCurrent .. automethod:: getDevice .. automethod:: getStreamType .. automethod:: idle .. automethod:: join .. automethod:: setCurrent .. automethod:: setDevice .. automethod:: setFromOptions .. automethod:: setStreamType .. automethod:: setUp .. automethod:: synchronize .. automethod:: waitFor .. rubric:: Attributes Documentation .. autoattribute:: current .. autoattribute:: device .. autoattribute:: stream_type