MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
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. More...
 
Diagnostic diag
 The diagnostic. More...
 

Detailed Description

Definition at line 904 of file Diagnostics.cpp.

Constructor & Destructor Documentation

◆ ThreadDiagnostic()

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

Definition at line 905 of file Diagnostics.cpp.

Member Function Documentation

◆ operator<()

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

Definition at line 907 of file Diagnostics.cpp.

References id.

Member Data Documentation

◆ diag

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

The diagnostic.

Definition at line 915 of file Diagnostics.cpp.

◆ 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 912 of file Diagnostics.cpp.

Referenced by operator<().


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