LLVM OpenMP 22.0.0git
|
CRTP (Curiously Recurring Template Pattern) intermediate class Adding a new event type can be achieved by inheriting from an EventBase template instantiation of the new class' name, like this: struct NewEventType : public EventBase<NewEventType> More...
Public Member Functions | |
EventBase () | |
virtual | ~EventBase ()=default |
virtual bool | equals (const InternalEvent *o) const override |
Equals method to cast and dispatch to the specific class operator==. | |
virtual std::string | toString () const override |
Basic toString method, which may be overridden with own implementations. | |
Public Member Functions inherited from omptest::internal::InternalEvent | |
InternalEvent () | |
InternalEvent (EventTy T) | |
virtual | ~InternalEvent ()=default |
Static Public Attributes | |
static constexpr EventTy | EventType = EventTypeOf<Derived>::Value |
Additional Inherited Members | |
Public Attributes inherited from omptest::internal::InternalEvent | |
EventTy | Type |
Identifying event type. |
CRTP (Curiously Recurring Template Pattern) intermediate class Adding a new event type can be achieved by inheriting from an EventBase template instantiation of the new class' name, like this: struct NewEventType : public EventBase<NewEventType>
Definition at line 102 of file InternalEventCommon.h.
|
inline |
Definition at line 105 of file InternalEventCommon.h.
References EventType, and omptest::internal::InternalEvent::InternalEvent().
|
virtualdefault |
|
inlineoverridevirtual |
Equals method to cast and dispatch to the specific class operator==.
Reimplemented from omptest::internal::InternalEvent.
Definition at line 109 of file InternalEventCommon.h.
References omptest::internal::InternalEvent::InternalEvent(), and omptest::internal::operator==().
|
inlineoverridevirtual |
Basic toString method, which may be overridden with own implementations.
Reimplemented from omptest::internal::InternalEvent.
Reimplemented in omptest::internal::AssertionSyncPoint, omptest::internal::BufferComplete, omptest::internal::BufferRecord, omptest::internal::BufferRecordDeallocation, omptest::internal::BufferRequest, omptest::internal::DeviceFinalize, omptest::internal::DeviceInitialize, omptest::internal::DeviceLoad, omptest::internal::Dispatch, omptest::internal::ImplicitTask, omptest::internal::ParallelBegin, omptest::internal::ParallelEnd, omptest::internal::SyncRegion, omptest::internal::Target, omptest::internal::TargetDataOp, omptest::internal::TargetDataOpEmi, omptest::internal::TargetEmi, omptest::internal::TargetSubmit, omptest::internal::TargetSubmitEmi, omptest::internal::TaskCreate, omptest::internal::ThreadBegin, omptest::internal::ThreadEnd, and omptest::internal::Work.
Definition at line 119 of file InternalEventCommon.h.
References S, and omptest::internal::InternalEvent::Type.
|
staticconstexpr |
Definition at line 104 of file InternalEventCommon.h.
Referenced by EventBase().