Home
last modified time | relevance | path

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

/petsc/src/sys/objects/device/impls/
H A Dsegmentedmempool.hpp74 using stream_type = typename StreamBase<DefaultStream>::default_stream_type; typedef
304 using stream_type = StreamType; typedef in Petsc::memory::impl::MemoryBlock
305 using event_type = typename stream_type::event_type;
323 PetscErrorCode try_allocate_chunk(size_type, T **, const stream_type *, bool *) noexcept;
324 PetscErrorCode try_deallocate_chunk(T **, const stream_type *, bool *) noexcept;
338 PetscErrorCode clear_(const stream_type *) noexcept;
347 PetscErrorCode MemoryBlock<T, A, S>::clear_(const stream_type *stream) noexcept in clear_()
377 stream_type stream; in ~MemoryBlock()
394 stream_type stream; in operator =()
430 …yBlock<T, A, S>::try_allocate_chunk(size_type req_size, T **ptr, const stream_type *stream, bool *… in try_allocate_chunk()
[all …]
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmstream.hpp31 using stream_type = cupmStream_t; typedef in Petsc::device::cupm::CUPMStream
43 stream_type stream_{};
49 PETSC_NODISCARD const stream_type &get_stream_() const noexcept;
115 inline const typename CUPMStream<T>::stream_type &CUPMStream<T>::get_stream_() const noexcept in get_stream_()
H A Dcupmcontext.hpp41 using stream_type = CUPMStream<T>; typedef in Petsc::device::cupm::impl::DeviceContext
50 stream_type stream{};
181 …= ::Petsc::memory::SegmentedMemoryPool<typename Allocator::value_type, stream_type, Allocator, 256…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDevice.pyx275 stream_type, setStreamType, petsc.PetscDeviceContextGetStreamType
283 def setStreamType(self, stream_type: StreamType | str) -> None:
290 stream_type
295 stream_type, getStreamType, petsc.PetscDeviceContextSetStreamType
298 cdef PetscStreamType cstream_type = asStreamType(stream_type)
399 …def fork(self, n: int, stream_type: DeviceContext.StreamType | str | None = None) -> list[DeviceCo…
408 stream_type
434 if stream_type is None:
437 cstream_type = asStreamType(stream_type)
558 property stream_type:
/petsc/include/petsc/private/
H A Ddeviceimpl.h444 PetscStreamType stream_type; in PetscDeviceContextSynchronizeIfWithBarrier_Internal() local
447 PetscCall(PetscDeviceContextGetStreamType(dctx, &stream_type)); in PetscDeviceContextSynchronizeIfWithBarrier_Internal()
448 …if (stream_type == PETSC_STREAM_DEFAULT_WITH_BARRIER || stream_type == PETSC_STREAM_NONBLOCKING_WI… in PetscDeviceContextSynchronizeIfWithBarrier_Internal()