Searched refs:StreamBase (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmallocator.hpp | 40 static PetscErrorCode allocate(value_type **, size_type, const StreamBase<U> *) noexcept; 42 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept; 44 …de uninitialized_copy(value_type *, const value_type *, size_type, const StreamBase<U> *) noexcept; 49 inline PetscErrorCode HostAllocator<T, P>::allocate(value_type **ptr, size_type n, const StreamBase… in allocate() 58 inline PetscErrorCode HostAllocator<T, P>::deallocate(value_type *ptr, const StreamBase<U> *) noexc… in deallocate() 67 …lized_copy(value_type *dest, const value_type *src, size_type n, const StreamBase<U> *stream) noex… in uninitialized_copy() 91 static PetscErrorCode allocate(value_type **, size_type, const StreamBase<U> *) noexcept; 93 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept; 95 static PetscErrorCode zero(value_type *, size_type, const StreamBase<U> *) noexcept; 97 …de uninitialized_copy(value_type *, const value_type *, size_type, const StreamBase<U> *) noexcept; [all …]
|
| H A D | cupmstream.hpp | 24 class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL CUPMStream : public StreamBase<CUPMStream<T>>, impl:… 25 using crtp_base_type = StreamBase<CUPMStream<T>>;
|
| /petsc/src/sys/objects/device/impls/ |
| H A D | segmentedmempool.hpp | 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; [all …]
|