Home
last modified time | relevance | path

Searched refs:AsyncToken (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DAsyncRuntime.h32 using AsyncToken = struct AsyncToken;
60 extern "C" AsyncToken *mlirAsyncRuntimeCreateToken();
71 extern "C" int64_t mlirAsyncRuntimeAddTokenToGroup(AsyncToken *, AsyncGroup *);
74 extern "C" void mlirAsyncRuntimeEmplaceToken(AsyncToken *);
80 extern "C" void mlirAsyncRuntimeSetTokenError(AsyncToken *);
86 extern "C" bool mlirAsyncRuntimeIsTokenError(AsyncToken *);
96 extern "C" void mlirAsyncRuntimeAwaitToken(AsyncToken *);
113 extern "C" void mlirAsyncRuntimeAwaitTokenAndExecute(AsyncToken *, CoroHandle,
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DAsyncRuntime.cpp173 struct AsyncToken : public RefCounted { struct
179 AsyncToken(AsyncRuntime *runtime) in AsyncToken() argument
240 extern "C" AsyncToken *mlirAsyncRuntimeCreateToken() { in mlirAsyncRuntimeCreateToken()
241 AsyncToken *token = new AsyncToken(getDefaultAsyncRuntime()); in mlirAsyncRuntimeCreateToken()
257 extern "C" int64_t mlirAsyncRuntimeAddTokenToGroup(AsyncToken *token, in mlirAsyncRuntimeAddTokenToGroup()
307 static void setTokenState(AsyncToken *token, State state) { in setTokenState()
343 extern "C" void mlirAsyncRuntimeEmplaceToken(AsyncToken *token) { in mlirAsyncRuntimeEmplaceToken()
351 extern "C" void mlirAsyncRuntimeSetTokenError(AsyncToken *token) { in mlirAsyncRuntimeSetTokenError()
359 extern "C" bool mlirAsyncRuntimeIsTokenError(AsyncToken *token) { in mlirAsyncRuntimeIsTokenError()
371 extern "C" void mlirAsyncRuntimeAwaitToken(AsyncToken *token) { in mlirAsyncRuntimeAwaitToken()
[all …]