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

Public Member Functions

 AsyncToken (AsyncRuntime *runtime)
 

Public Attributes

std::atomic< State::StateEnum > state
 
std::mutex mu
 
std::condition_variable cv
 
std::vector< std::function< void()> > awaiters
 

Detailed Description

Definition at line 171 of file AsyncRuntime.cpp.

Constructor & Destructor Documentation

◆ AsyncToken()

mlir::runtime::AsyncToken::AsyncToken ( AsyncRuntime *  runtime)
inline

Definition at line 177 of file AsyncRuntime.cpp.

Member Data Documentation

◆ awaiters

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

◆ cv

std::condition_variable mlir::runtime::AsyncToken::cv

Definition at line 184 of file AsyncRuntime.cpp.

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

◆ mu

std::mutex mlir::runtime::AsyncToken::mu

◆ state

std::atomic<State::StateEnum> mlir::runtime::AsyncToken::state

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