MLIR
20.0.0git
|
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 |
Definition at line 211 of file AsyncRuntime.cpp.
|
inline |
Definition at line 212 of file AsyncRuntime.cpp.
std::vector<std::function<void()> > mlir::runtime::AsyncGroup::awaiters |
Definition at line 222 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), and mlir::runtime::mlirAsyncRuntimeAwaitAllInGroupAndExecute().
std::condition_variable mlir::runtime::AsyncGroup::cv |
Definition at line 221 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), and mlir::runtime::mlirAsyncRuntimeAwaitAllInGroup().
std::mutex mlir::runtime::AsyncGroup::mu |
Definition at line 220 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), mlir::runtime::mlirAsyncRuntimeAwaitAllInGroup(), and mlir::runtime::mlirAsyncRuntimeAwaitAllInGroupAndExecute().
std::atomic<int> mlir::runtime::AsyncGroup::numErrors |
Definition at line 216 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), and mlir::runtime::mlirAsyncRuntimeIsGroupError().
std::atomic<int> mlir::runtime::AsyncGroup::pendingTokens |
Definition at line 215 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), mlir::runtime::mlirAsyncRuntimeAwaitAllInGroup(), and mlir::runtime::mlirAsyncRuntimeAwaitAllInGroupAndExecute().
std::atomic<int> mlir::runtime::AsyncGroup::rank |
Definition at line 217 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup().