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

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

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

Public Member Functions

std::string toString () const override
 Basic toString method, which may be overridden with own implementations.
 
 DeviceInitialize (int DeviceNum, const char *Type, ompt_device_t *Device, ompt_function_lookup_t LookupFn, const char *DocStr)
 
- Public Member Functions inherited from omptest::internal::EventBase< DeviceInitialize >
 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

int DeviceNum
 
const charType
 
ompt_device_t * Device
 
ompt_function_lookup_t LookupFn
 
const charDocStr
 
- Public Attributes inherited from omptest::internal::InternalEvent
EventTy Type
 Identifying event type.
 

Additional Inherited Members

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

Detailed Description

Definition at line 288 of file InternalEvent.h.

Constructor & Destructor Documentation

◆ DeviceInitialize()

omptest::internal::DeviceInitialize::DeviceInitialize ( int  DeviceNum,
const char Type,
ompt_device_t *  Device,
ompt_function_lookup_t  LookupFn,
const char DocStr 
)
inline

Definition at line 290 of file InternalEvent.h.

Member Function Documentation

◆ toString()

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

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

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

Definition at line 254 of file InternalEvent.cpp.

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

Member Data Documentation

◆ Device

ompt_device_t* omptest::internal::DeviceInitialize::Device

Definition at line 296 of file InternalEvent.h.

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

◆ DeviceNum

int omptest::internal::DeviceInitialize::DeviceNum

Definition at line 294 of file InternalEvent.h.

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

◆ DocStr

const char* omptest::internal::DeviceInitialize::DocStr

Definition at line 298 of file InternalEvent.h.

◆ LookupFn

ompt_function_lookup_t omptest::internal::DeviceInitialize::LookupFn

Definition at line 297 of file InternalEvent.h.

◆ Type

const char* omptest::internal::DeviceInitialize::Type

Definition at line 295 of file InternalEvent.h.

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


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