Lines Matching refs:MemoryBlock
300 class MemoryBlock { class
311 MemoryBlock(allocator_type *, size_type, const device::StreamBase<U> *) noexcept;
313 ~MemoryBlock() noexcept(std::is_nothrow_destructible<chunk_list_type>::value);
315 MemoryBlock(MemoryBlock &&) noexcept;
316 MemoryBlock &operator=(MemoryBlock &&) noexcept;
319 MemoryBlock(const MemoryBlock &) = delete;
320 MemoryBlock &operator=(const MemoryBlock &) = delete;
347 PetscErrorCode MemoryBlock<T, A, S>::clear_(const stream_type *stream) noexcept in clear_()
366 MemoryBlock<T, A, S>::MemoryBlock(allocator_type *alloc, size_type s, const device::StreamBase<U> *… in MemoryBlock() function in Petsc::memory::impl::MemoryBlock
375 MemoryBlock<T, A, S>::~MemoryBlock() noexcept(std::is_nothrow_destructible<chunk_list_type>::value) in ~MemoryBlock()
385 MemoryBlock<T, A, S>::MemoryBlock(MemoryBlock &&other) noexcept : mem_(util::exchange(other.mem_, n… in MemoryBlock() function in Petsc::memory::impl::MemoryBlock
390 MemoryBlock<T, A, S> &MemoryBlock<T, A, S>::operator=(MemoryBlock &&other) noexcept in operator =()
409 inline bool MemoryBlock<T, A, S>::owns_pointer(const T *ptr) const noexcept in owns_pointer()
430 inline PetscErrorCode MemoryBlock<T, A, S>::try_allocate_chunk(size_type req_size, T **ptr, const s… in try_allocate_chunk()
514 inline PetscErrorCode MemoryBlock<T, A, S>::try_deallocate_chunk(T **ptr, const stream_type *stream… in try_deallocate_chunk()
540 inline PetscErrorCode MemoryBlock<T, A, S>::try_find_chunk(const T *ptr, chunk_type **ret_chunk) no… in try_find_chunk()
695 using block_type = impl::MemoryBlock<value_type, allocator_type, stream_type>;