MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::runtime::AsyncGroup Struct Reference
+ Inheritance diagram for mlir::runtime::AsyncGroup:

Public Member Functions

 AsyncGroup (AsyncRuntime *runtime, int64_t size)
 

Public Attributes

std::atomic< int > pendingTokens
 
std::atomic< int > numErrors
 
std::atomic< int > rank
 
std::mutex mu
 
std::condition_variable cv
 
std::vector< std::function< void()> > awaiters
 

Detailed Description

Definition at line 211 of file AsyncRuntime.cpp.

Constructor & Destructor Documentation

◆ AsyncGroup()

mlir::runtime::AsyncGroup::AsyncGroup ( AsyncRuntime *  runtime,
int64_t  size 
)
inline

Definition at line 212 of file AsyncRuntime.cpp.

Member Data Documentation

◆ awaiters

std::vector<std::function<void()> > mlir::runtime::AsyncGroup::awaiters

◆ cv

std::condition_variable mlir::runtime::AsyncGroup::cv

◆ mu

std::mutex mlir::runtime::AsyncGroup::mu

◆ numErrors

std::atomic<int> mlir::runtime::AsyncGroup::numErrors

◆ pendingTokens

std::atomic<int> mlir::runtime::AsyncGroup::pendingTokens

◆ rank

std::atomic<int> mlir::runtime::AsyncGroup::rank

Definition at line 217 of file AsyncRuntime.cpp.

Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup().


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