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

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.

References Device, DeviceNum, DocStr, LookupFn, and Type.

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 Device, DeviceNum, DocStr, LookupFn, omptest::util::makeHexString(), S, and Type.

Referenced by TEST().

Member Data Documentation

◆ Device

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

Definition at line 296 of file InternalEvent.h.

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

◆ DeviceNum

int omptest::internal::DeviceInitialize::DeviceNum

Definition at line 294 of file InternalEvent.h.

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

◆ DocStr

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

Definition at line 298 of file InternalEvent.h.

Referenced by DeviceInitialize(), and toString().

◆ LookupFn

ompt_function_lookup_t omptest::internal::DeviceInitialize::LookupFn

Definition at line 297 of file InternalEvent.h.

Referenced by DeviceInitialize(), and toString().

◆ Type

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

Definition at line 295 of file InternalEvent.h.

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


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