Host Workflow - Host Workflow - 2026.1 English - UG1603

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document ID
UG1603
Release Date
2026-07-08
Version
2026.1 English

Call g.update() before g.run() to load initial values, and again at any point during execution to update the values.

g.init();
g.update(g.wts, hostarray, 2*SAMPLES);   // Initial load
g.run(40);

// Later, update coefficients without stopping the graph
int new_coefficients[2*SAMPLES] = { /* ... */ };
g.update(g.wts, new_coefficients, 2*SAMPLES);   // Runtime update