MLIR 22.0.0git
mlir::detail::ParallelDiagnosticHandlerImpl::ThreadDiagnostic Struct Reference

Public Member Functions

 ThreadDiagnostic (size_t id, Diagnostic diag)
bool operator< (const ThreadDiagnostic &rhs) const

Public Attributes

size_t id
 The id for this diagnostic, this is used for ordering.
Diagnostic diag
 The diagnostic.

Detailed Description

Definition at line 940 of file Diagnostics.cpp.

Constructor & Destructor Documentation

◆ ThreadDiagnostic()

mlir::detail::ParallelDiagnosticHandlerImpl::ThreadDiagnostic::ThreadDiagnostic ( size_t id,
Diagnostic diag )
inline

Definition at line 941 of file Diagnostics.cpp.

References diag, and id.

Referenced by operator<().

Member Function Documentation

◆ operator<()

bool mlir::detail::ParallelDiagnosticHandlerImpl::ThreadDiagnostic::operator< ( const ThreadDiagnostic & rhs) const
inline

Definition at line 943 of file Diagnostics.cpp.

References rhs, and ThreadDiagnostic().

Member Data Documentation

◆ diag

Diagnostic mlir::detail::ParallelDiagnosticHandlerImpl::ThreadDiagnostic::diag

The diagnostic.

Definition at line 951 of file Diagnostics.cpp.

Referenced by ThreadDiagnostic().

◆ id

size_t mlir::detail::ParallelDiagnosticHandlerImpl::ThreadDiagnostic::id

The id for this diagnostic, this is used for ordering.

Note: This id corresponds to the ordered position of the current element being processed by a given thread.

Definition at line 948 of file Diagnostics.cpp.

Referenced by ThreadDiagnostic().


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