LLVM OpenMP 22.0.0git
Public Member Functions | Public Attributes | List of all members
omptest::internal::TargetDataOp Struct Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/tools/omptest/include/InternalEvent.h"

Inheritance diagram for omptest::internal::TargetDataOp:
[legend]

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 TargetDataOp (ompt_id_t TargetId, ompt_id_t HostOpId, ompt_target_data_op_t OpType, void *SrcAddr, int SrcDeviceNum, void *DstAddr, int DstDeviceNum, size_t Bytes, const void *CodeptrRA)
 
- Public Member Functions inherited from omptest::internal::EventBase< TargetDataOp >
 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
 
virtual bool equals (const InternalEvent *o) const
 
virtual std::string toString () const
 

Public Attributes

ompt_id_t TargetId
 
ompt_id_t HostOpId
 
ompt_target_data_op_t OpType
 
voidSrcAddr
 
int SrcDeviceNum
 
voidDstAddr
 
int DstDeviceNum
 
size_t Bytes
 
const voidCodeptrRA
 
- Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.
 

Additional Inherited Members

- Static Public Attributes inherited from omptest::internal::EventBase< TargetDataOp >
static constexpr EventTy EventType
 

Detailed Description

Definition at line 217 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ TargetDataOp()

omptest::internal::TargetDataOp::TargetDataOp ( ompt_id_t  TargetId,
ompt_id_t  HostOpId,
ompt_target_data_op_t  OpType,
void SrcAddr,
int  SrcDeviceNum,
void DstAddr,
int  DstDeviceNum,
size_t  Bytes,
const void CodeptrRA 
)
inline

Definition at line 219 of file InternalEvent.h.

Member Function Documentation

◆ toString()

std::string internal::TargetDataOp::toString ( ) const
overridevirtual

Basic toString method, which may be overridden with own implementations.

Reimplemented from omptest::internal::EventBase< TargetDataOp >.

Definition at line 185 of file InternalEvent.cpp.

References omptest::util::makeHexString(), and S.

Member Data Documentation

◆ Bytes

size_t omptest::internal::TargetDataOp::Bytes

Definition at line 233 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ CodeptrRA

const void* omptest::internal::TargetDataOp::CodeptrRA

Definition at line 234 of file InternalEvent.h.

◆ DstAddr

void* omptest::internal::TargetDataOp::DstAddr

Definition at line 231 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ DstDeviceNum

int omptest::internal::TargetDataOp::DstDeviceNum

Definition at line 232 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ HostOpId

ompt_id_t omptest::internal::TargetDataOp::HostOpId

Definition at line 227 of file InternalEvent.h.

◆ OpType

ompt_target_data_op_t omptest::internal::TargetDataOp::OpType

Definition at line 228 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ SrcAddr

void* omptest::internal::TargetDataOp::SrcAddr

Definition at line 229 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ SrcDeviceNum

int omptest::internal::TargetDataOp::SrcDeviceNum

Definition at line 230 of file InternalEvent.h.

Referenced by omptest::internal::operator==().

◆ TargetId

ompt_id_t omptest::internal::TargetDataOp::TargetId

Definition at line 226 of file InternalEvent.h.


The documentation for this struct was generated from the following files: