Lines Matching refs:StreamBase

22 class StreamBase {  class
48 constexpr StreamBase() noexcept = default;
71 const typename StreamBase<T>::id_type StreamBase<T>::INVALID_ID = -1;
73 struct DefaultStream : StreamBase<DefaultStream> {
74 using stream_type = typename StreamBase<DefaultStream>::default_stream_type;
75 using id_type = typename StreamBase<DefaultStream>::id_type;
76 using event_type = typename StreamBase<DefaultStream>::default_event_type;
118 PetscErrorCode release(const device::StreamBase<U> *) noexcept;
120 PetscErrorCode claim(const device::StreamBase<U> *, size_type, bool *, bool = false) noexcept;
122 PETSC_NODISCARD bool can_claim(const device::StreamBase<U> *, size_type, bool) const noexcept;
134 PETSC_NODISCARD bool stream_compat_(const device::StreamBase<U> *) const noexcept;
144 inline bool MemoryChunk<E>::stream_compat_(const device::StreamBase<U> *strm) const noexcept in stream_compat_()
201 inline PetscErrorCode MemoryChunk<E>::release(const device::StreamBase<U> *stream) noexcept in release()
223 inline PetscErrorCode MemoryChunk<E>::claim(const device::StreamBase<U> *stream, size_type req_size… in claim()
247 inline bool MemoryChunk<E>::can_claim(const device::StreamBase<U> *stream, size_type req_size, bool… in can_claim()
311 MemoryBlock(allocator_type *, size_type, const device::StreamBase<U> *) noexcept;
366 MemoryBlock<T, A, S>::MemoryBlock(allocator_type *alloc, size_type s, const device::StreamBase<U> *… in MemoryBlock()
581 static PetscErrorCode allocate(value_type **, size_type, const device::StreamBase<U> *) noexcept;
583 static PetscErrorCode deallocate(value_type *, const device::StreamBase<U> *) noexcept;
585 static PetscErrorCode zero(value_type *, size_type, const device::StreamBase<U> *) noexcept;
587 …tialized_copy(value_type *, const value_type *, size_type, const device::StreamBase<U> *) noexcept;
589 static PetscErrorCode set_canary(value_type *, size_type, const device::StreamBase<U> *) noexcept;
594 …olAllocatorBase<T>::allocate(value_type **ptr, size_type n, const device::StreamBase<U> *) noexcept in allocate()
603 …ntedMemoryPoolAllocatorBase<T>::deallocate(value_type *ptr, const device::StreamBase<U> *) noexcept in deallocate()
612 …oryPoolAllocatorBase<T>::zero(value_type *ptr, size_type n, const device::StreamBase<U> *) noexcept in zero()
621 …_copy(value_type *dest, const value_type *src, size_type n, const device::StreamBase<U> *) noexcept in uninitialized_copy()
630 …lAllocatorBase<T>::set_canary(value_type *ptr, size_type n, const device::StreamBase<U> *) noexcept in set_canary()