MLIR 22.0.0git
AsyncRuntime.h File Reference
#include <cstddef>
#include <stdint.h>

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::runtime

Macros

#define MLIR_ASYNC_RUNTIME_EXPORT   __attribute__((visibility("default")))

Typedefs

using mlir::runtime::AsyncToken = struct AsyncToken
using mlir::runtime::AsyncGroup = struct AsyncGroup
using mlir::runtime::AsyncValue = struct AsyncValue
using mlir::runtime::ValueStorage = std::byte *
using mlir::runtime::CoroHandle = void *
using mlir::runtime::CoroResume = void (*)(void *)
using mlir::runtime::RefCountedObjPtr = void *

Functions

MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAddRef (RefCountedObjPtr, int64_t)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeDropRef (RefCountedObjPtr, int64_t)
MLIR_ASYNC_RUNTIME_EXPORT AsyncTokenmlir::runtime::mlirAsyncRuntimeCreateToken ()
MLIR_ASYNC_RUNTIME_EXPORT AsyncValuemlir::runtime::mlirAsyncRuntimeCreateValue (int64_t)
MLIR_ASYNC_RUNTIME_EXPORT AsyncGroupmlir::runtime::mlirAsyncRuntimeCreateGroup (int64_t size)
MLIR_ASYNC_RUNTIME_EXPORT int64_t mlir::runtime::mlirAsyncRuntimeAddTokenToGroup (AsyncToken *, AsyncGroup *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeEmplaceToken (AsyncToken *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeEmplaceValue (AsyncValue *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeSetTokenError (AsyncToken *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeSetValueError (AsyncValue *)
MLIR_ASYNC_RUNTIME_EXPORT bool mlir::runtime::mlirAsyncRuntimeIsTokenError (AsyncToken *)
MLIR_ASYNC_RUNTIME_EXPORT bool mlir::runtime::mlirAsyncRuntimeIsValueError (AsyncValue *)
MLIR_ASYNC_RUNTIME_EXPORT bool mlir::runtime::mlirAsyncRuntimeIsGroupError (AsyncGroup *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitToken (AsyncToken *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitValue (AsyncValue *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitAllInGroup (AsyncGroup *)
MLIR_ASYNC_RUNTIME_EXPORT ValueStorage mlir::runtime::mlirAsyncRuntimeGetValueStorage (AsyncValue *)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeExecute (CoroHandle, CoroResume)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitTokenAndExecute (AsyncToken *, CoroHandle, CoroResume)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitValueAndExecute (AsyncValue *, CoroHandle, CoroResume)
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimeAwaitAllInGroupAndExecute (AsyncGroup *, CoroHandle, CoroResume)
MLIR_ASYNC_RUNTIME_EXPORT int64_t mlir::runtime::mlirAsyncRuntimGetNumWorkerThreads ()
MLIR_ASYNC_RUNTIME_EXPORT void mlir::runtime::mlirAsyncRuntimePrintCurrentThreadId ()

Macro Definition Documentation

◆ MLIR_ASYNC_RUNTIME_EXPORT

#define MLIR_ASYNC_RUNTIME_EXPORT   __attribute__((visibility("default")))

Definition at line 32 of file AsyncRuntime.h.

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