Home
last modified time | relevance | path

Searched refs:event_ (Results 1 – 3 of 3) sorted by relevance

/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmevent.hpp123 cupmEvent_t event_{}; member in Petsc::device::cupm::CUPMEvent
130 PetscCallAbort(PETSC_COMM_SELF, cupm_fast_event_pool<T>().deallocate(&event_)); in ~CUPMEvent()
135 …CUPMEvent &&other) noexcept : pool_type(std::move(other)), event_(util::exchange(other.event_, cup… in CUPMEvent()
146 PetscCallAbort(PETSC_COMM_SELF, cupm_fast_event_pool<T>().deallocate(&event_)); in operator =()
147 event_ = util::exchange(other.event_, cupmEvent_t{}); in operator =()
156 …if (PetscUnlikely(!event_)) PetscCallAbort(PETSC_COMM_SELF, cupm_fast_event_pool<T>().allocate(&ev… in get()
157 PetscFunctionReturn(event_); in get()
171 return event_ != cupmEvent_t{}; in operator bool()
/petsc/src/sys/objects/device/interface/
H A Dmark_dcontext.cxx227 PETSC_NODISCARD PetscEvent event() const noexcept { return event_; } in event()
243 PetscEvent event_{}; // the state of device context when this snapshot was recorded member in MarkedObjectMap::snapshot_type
313 …Context dctx, frame_type frame) noexcept : frame_type(std::move(frame)), event_(init_event_(dctx))… in snapshot_type()
318 PetscCallAbort(PETSC_COMM_SELF, PetscEventDestroy_Private(&event_)); in ~snapshot_type()
323 …_type &&other) noexcept : frame_type(std::move(other)), event_(Petsc::util::exchange(other.event_,… in snapshot_type()
330 PetscCallAbort(PETSC_COMM_SELF, PetscEventDestroy_Private(&event_)); in operator =()
331 event_ = Petsc::util::exchange(other.event_, nullptr); in operator =()
339 if (PetscUnlikely(!event_)) PetscCall(PetscDeviceContextCreateEvent_Private(dctx, &event_)); in ensure_event()
348 swap(lhs.event_, rhs.event_); in swap()
/petsc/src/sys/objects/device/impls/
H A Dsegmentedmempool.hpp127 …event_type event_{}; // event recorded when the chunk was re… member in Petsc::memory::impl::MemoryChunk
165event_(std::move(other.event_)), open_(util::exchange(other.open_, false)), stream_id_(util::excha… in MemoryChunk()
174 event_ = std::move(other.event_); in operator =()
206 PetscCall(stream->record_event(event_)); in release()
227 if (serialize && !stream_compat_(stream)) PetscCall(stream->wait_for_event(event_)); in claim()