The third set of data started writing to the buffers (ping buffer – buf0/buf1)
and the vadd kernel (node/actor) started processing frame 2. The addConstant kernel
(node/actor) started processing frame 1 as the input token is ready.
Figure 1. Frame 3
KPN Terminology | Input Token for Vadd | Node/Actor | Input Token for addConstant | Node/Actor | Input Token for fir_32 | Input Token for copy_in_out | Node/ Actor | Port | Node/ Actor | Port | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AI Engine | Buffer (ping/pong) | Vadd |
Buffer (ping/pong) |
addConstant |
Buffer (ping/pong) |
Buffer (ping/pong) |
copy_in_out |
Buffer (ping/pong) |
fir_32 |
Buffer (ping/pong) |
||||||
buf0/ buf1 |
buf0d/ buf1d |
buf2 | buf2d | buf3 | buf3d | Buf4 | buf4d | buf6 | buf6d | buf5 | buf5d | |||||
Frame 1 | Fill | - | Waiting | - | - | Waiting | - | - | - | - | Waiting | - | - | Waiting | - | - |
Frame 2 | Token ready Frame 1 | Fill | Processing (Frame 1) | Fill | - | Waiting | - | - | - | - | Waiting | - | - | Waiting | - | - |
Frame 3 | Fill | Token ready Frame 2 | Processing (Frame 2) | Token ready Frame 1 | Fill | Processing (Frame 1) | Fill | - | Fill | - | Waiting | - | - | Waiting | - | - |