17#ifndef CIRCT_DIALECT_ARC_RUNTIME_COMMON_H
18#define CIRCT_DIALECT_ARC_RUNTIME_COMMON_H
23#define ARC_RUNTIME_API_VERSION UINT64_C(0)
26#define ARC_RUNTIME_MAGIC UINT32_C(0xAC1BB1CA)
34#if defined(__cplusplus) && defined(__clang__)
35#pragma clang diagnostic push
36#pragma clang diagnostic ignored "-Wc99-extensions"
51#if defined(__cplusplus) && defined(__clang__)
52#pragma clang diagnostic pop
Static information for a compiled hardware model, generated by the MLIR lowering.
uint64_t apiVersion
Runtime API version used when compiling the model.
uint64_t numStateBytes
Number of bytes required for the model's state.
const char * modelName
Name of the compiled model.
Combined runtime and model state for a hardware model instance.
uint32_t reserved
Padding for alignment and reserved for future use.
void * impl
Runtime implementation specific data. Usually points to a custom struct.
uint32_t magic
Runtime magic number. Must be set to ARC_RUNTIME_MAGIC.