Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
sim_scheduler_state.h
Go to the documentation of this file.
1
5#ifndef OAKFIELD_SIM_SCHEDULER_STATE_H
6#define OAKFIELD_SIM_SCHEDULER_STATE_H
7
8#include <stdbool.h>
9
10#include "kernel_ir.h"
11#include "operator.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17struct SimBackend;
18
28
36
43
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* OAKFIELD_SIM_SCHEDULER_STATE_H */
SimResult
Return codes shared by libsimcore modules.
Definition field.h:29
Intermediate representation facilities for libsimcore operator fusion.
Operator abstraction, registry, and dependency resolution for libsimcore.
SimResult sim_scheduler_plan_init(SimSchedulerPlan *state)
Initialize scheduler state and its shared IR builder.
void sim_scheduler_plan_destroy(SimSchedulerPlan *state)
Destroy scheduler state and release owned resources.
void sim_scheduler_plan_invalidate(SimSchedulerPlan *state)
Mark the cached plan as invalid.
Runtime backend handle shared across implementations.
Definition backend.h:115
Monotonic arena for IR node allocation.
Definition kernel_ir.h:347
Execution plan obtained via dependency resolution.
Definition operator.h:458
Scheduler-local state for plan resolution and backend dispatch.
Definition sim_scheduler_state.h:22
struct SimBackend * backend
Definition sim_scheduler_state.h:26
SimIRBuilder ir_builder
Definition sim_scheduler_state.h:23
SimOperatorPlan plan
Definition sim_scheduler_state.h:24
bool plan_valid
Definition sim_scheduler_state.h:25