Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
sim_scheduler_state.h File Reference

Execution plan and backend coordination state. More...

#include <stdbool.h>
#include "kernel_ir.h"
#include "operator.h"
Include dependency graph for sim_scheduler_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SimSchedulerPlan
 Scheduler-local state for plan resolution and backend dispatch. More...
 

Typedefs

typedef struct SimSchedulerPlan SimSchedulerPlan
 Scheduler-local state for plan resolution and backend dispatch.
 

Functions

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.
 

Detailed Description

Execution plan and backend coordination state.

Function Documentation

◆ sim_scheduler_plan_destroy()

void sim_scheduler_plan_destroy ( SimSchedulerPlan state)

Destroy scheduler state and release owned resources.

Parameters
stateScheduler state to destroy; NULL is ignored.

◆ sim_scheduler_plan_init()

SimResult sim_scheduler_plan_init ( SimSchedulerPlan state)

Initialize scheduler state and its shared IR builder.

Parameters
stateScheduler state to initialize.
Returns
SIM_RESULT_OK or a builder initialization error.

◆ sim_scheduler_plan_invalidate()

void sim_scheduler_plan_invalidate ( SimSchedulerPlan state)

Mark the cached plan as invalid.

Parameters
stateScheduler state to update; NULL is ignored.