| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdevice.pxi | 24 ctypedef enum PetscStreamType: 48 PetscErrorCode PetscDeviceContextSetStreamType(PetscDeviceContext, PetscStreamType) 49 PetscErrorCode PetscDeviceContextGetStreamType(PetscDeviceContext, PetscStreamType *) 57 …PetscErrorCode PetscDeviceContextForkWithStreamType(PetscDeviceContext, PetscStreamType, PetscInt,… 85 cdef inline PetscStreamType asStreamType(object stype) except <PetscStreamType>(-1): 94 cdef inline str toStreamType(PetscStreamType stype): 98 raise NotImplementedError("unhandled PetscStreamType %d" % <int>stype)
|
| H A D | Device.pyx | 45 DeviceContext.setStreamType, petsc.PetscStreamType 278 cdef PetscStreamType cstream_type = PETSC_STREAM_DEFAULT 298 cdef PetscStreamType cstream_type = asStreamType(stream_type) 431 cdef PetscStreamType cstream_type = PETSC_STREAM_DEFAULT
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex10.c | 7 const PetscStreamType stypes[] = { in main() 22 PetscStreamType tmp_type; in main() 43 PetscStreamType tmp_type; in main()
|
| H A D | ex3.c | 9 PetscStreamType origStype; in TestPetscDeviceContextDuplicate() 32 PetscStreamType parStype, dupStype; in TestPetscDeviceContextDuplicate()
|
| H A D | petscdevicetestcommon.h | 44 …inline PetscErrorCode AssertPetscStreamTypesValidAndEqual(PetscStreamType left, PetscStreamType ri… in AssertPetscStreamTypesValidAndEqual()
|
| H A D | ex4.c | 8 PetscStreamType stype; in DoFork() 17 PetscStreamType sub_stype; in DoFork()
|
| /petsc/include/ |
| H A D | petscdevice.h | 50 PETSC_EXTERN PetscErrorCode PetscDeviceContextSetStreamType(PetscDeviceContext, PetscStreamType); 51 PETSC_EXTERN PetscErrorCode PetscDeviceContextGetStreamType(PetscDeviceContext, PetscStreamType *); 59 …scErrorCode PetscDeviceContextForkWithStreamType(PetscDeviceContext, PetscStreamType, PetscInt, Pe…
|
| H A D | petscdevicetypes.h | 325 } PetscStreamType; typedef
|
| /petsc/include/petsc/private/ |
| H A D | deviceimpl.h | 31 #define PetscStreamTypeCast(...) static_cast<PetscStreamType>(__VA_ARGS__) 35 #define PetscStreamTypeCast(...) ((PetscStreamType)(__VA_ARGS__)) 114 PetscStreamType pvst_stype_ = PetscStreamTypeCast(stype); \ 213 PetscErrorCode (*changestreamtype)(PetscDeviceContext, PetscStreamType); 242 PetscStreamType streamType; /* how should this contexts stream behave around other streams? */ 444 PetscStreamType stream_type; in PetscDeviceContextSynchronizeIfWithBarrier_Internal()
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmstream.hpp | 40 PetscErrorCode change_type(PetscStreamType) noexcept; 86 inline PetscErrorCode CUPMStream<T>::change_type(PetscStreamType newtype) noexcept in change_type()
|
| H A D | cupmcontext.hpp | 199 static PetscErrorCode changeStreamType(PetscDeviceContext, PetscStreamType) noexcept; 295 …ceContext<T>::changeStreamType(PetscDeviceContext dctx, PETSC_UNUSED PetscStreamType stype) noexce… in changeStreamType()
|
| /petsc/src/sys/objects/device/c/ |
| H A D | device.c | 90 …DeviceContextSetStreamType(PETSC_UNUSED PetscDeviceContext dctx, PETSC_UNUSED PetscStreamType type) in PetscDeviceContextSetStreamType() 96 …orCode PetscDeviceContextGetStreamType(PETSC_UNUSED PetscDeviceContext dctx, PetscStreamType *type) in PetscDeviceContextGetStreamType() 154 …orkWithStreamType(PETSC_UNUSED PetscDeviceContext dctx, PETSC_UNUSED PetscStreamType stype, PetscI… in PetscDeviceContextForkWithStreamType()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | petscdevice_interface_internal.hpp | 39 PETSC_INTERN PetscErrorCode PetscDeviceContextSetRootStreamType_Internal(PetscStreamType); 179 …Object, std::pair<PetscDeviceType, PetscBool> &deviceType, std::pair<PetscStreamType, PetscBool> &… in PetscDeviceContextQueryOptions_Internal() argument
|
| H A D | global_dcontext.cxx | 18 PetscErrorCode PetscDeviceContextSetRootStreamType_Internal(PetscStreamType type) in PetscDeviceContextSetRootStreamType_Internal()
|
| H A D | dcontext.cxx | 181 PetscErrorCode PetscDeviceContextSetStreamType(PetscDeviceContext dctx, PetscStreamType type) in PetscDeviceContextSetStreamType() 220 PetscErrorCode PetscDeviceContextGetStreamType(PetscDeviceContext dctx, PetscStreamType *type) in PetscDeviceContextGetStreamType() 399 static PetscErrorCode PetscDeviceContextDuplicate_Private(PetscDeviceContext dctx, PetscStreamType … in PetscDeviceContextDuplicate_Private() 587 PetscErrorCode PetscDeviceContextForkWithStreamType(PetscDeviceContext dctx, PetscStreamType stype,… in PetscDeviceContextForkWithStreamType()
|
| /petsc/src/sys/objects/device/impls/host/ |
| H A D | hostcontext.cxx | 20 …static PetscErrorCode changeStreamType(PetscDeviceContext, PetscStreamType) noexcept { return PETS… in changeStreamType() argument
|
| /petsc/src/sys/objects/device/impls/sycl/ |
| H A D | syclcontext.sycl.cxx | 156 …static PetscErrorCode changeStreamType(PetscDeviceContext, PetscStreamType) noexcept { SETERRQ(PET… in changeStreamType() argument
|
| /petsc/doc/changes/ |
| H A D | 316.md | 36 - Add `PetscStreamType` and `PetscDeviceContextJoinMode`
|
| H A D | 317.md | 38 …ronize`. Their operation is now managed by `PetscDeviceContext` via its `PetscStreamType` attribute
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1204 PetscStreamType stype; in MDot_()
|