|
Continuum C++ API
Unified runtime for token + tensor execution
|
Classes | |
| struct | ControlOpPayload |
| struct | Effect |
| struct | EffectType |
| class | Graph |
| struct | Node |
| struct | PromptOpPayload |
| struct | Schema |
| struct | SchemaType |
| struct | TensorOpPayload |
| struct | TensorType |
| struct | TokenOpPayload |
| struct | TokensType |
| struct | ToolOpPayload |
Typedefs | |
| using | NodeId = std::uint64_t |
| using | OpPayload = std::variant< TensorOpPayload, TokenOpPayload, PromptOpPayload, ToolOpPayload, ControlOpPayload > |
| using | Type = std::variant< TensorType, TokensType, SchemaType, EffectType > |
Enumerations | |
| enum class | EffectBit : std::uint8_t { Pure = 1 << 0 , Idem = 1 << 1 , Net = 1 << 2 , Mut = 1 << 3 , Stoch = 1 << 4 } |
| enum class | NodeKind : std::uint8_t { TensorOp = 0 , TokenOp = 1 , PromptOp = 2 , ToolOp = 3 , ControlOp = 4 } |
| enum class | DType : std::uint8_t { F32 , F16 , BF16 , I32 , I64 , U8 , Bool } |
| enum class | Device : std::uint8_t { CPU , CUDA , MPS , MLX , Remote } |
Functions | |
| bool | is_subtype (const Type &a, const Type &b) |
| Type | meet (const Type &a, const Type &b) |
| using continuum::ir::NodeId = typedef std::uint64_t |
| using continuum::ir::OpPayload = typedef std::variant<TensorOpPayload, TokenOpPayload, PromptOpPayload, ToolOpPayload, ControlOpPayload> |
| using continuum::ir::Type = typedef std::variant<TensorType, TokensType, SchemaType, EffectType> |
|
strong |
|
strong |
|
strong |
|
strong |