LLVM OpenMP 22.0.0git
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==.
Public Member Functions inherited from omptest::internal::InternalEvent
 InternalEvent ()
 InternalEvent (EventTy T)
virtual ~InternalEvent ()=default

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.

References Bytes, CodeptrRA, DstAddr, DstDeviceNum, HostOpId, OpType, SrcAddr, SrcDeviceNum, and TargetId.

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 Bytes, CodeptrRA, DstAddr, DstDeviceNum, HostOpId, omptest::util::makeHexString(), OpType, S, SrcAddr, SrcDeviceNum, and TargetId.

Referenced by TEST().

Member Data Documentation

◆ Bytes

size_t omptest::internal::TargetDataOp::Bytes

Definition at line 233 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ CodeptrRA

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

Definition at line 234 of file InternalEvent.h.

Referenced by TargetDataOp(), and toString().

◆ DstAddr

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

Definition at line 231 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ DstDeviceNum

int omptest::internal::TargetDataOp::DstDeviceNum

Definition at line 232 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ HostOpId

ompt_id_t omptest::internal::TargetDataOp::HostOpId

Definition at line 227 of file InternalEvent.h.

Referenced by TargetDataOp(), and toString().

◆ OpType

ompt_target_data_op_t omptest::internal::TargetDataOp::OpType

Definition at line 228 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ SrcAddr

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

Definition at line 229 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ SrcDeviceNum

int omptest::internal::TargetDataOp::SrcDeviceNum

Definition at line 230 of file InternalEvent.h.

Referenced by omptest::internal::operator==(), TargetDataOp(), and toString().

◆ TargetId

ompt_id_t omptest::internal::TargetDataOp::TargetId

Definition at line 226 of file InternalEvent.h.

Referenced by TargetDataOp(), and toString().


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