CPC G06F 30/398 (2020.01) [G06N 3/063 (2013.01)] | 16 Claims |
1. A method for optimizing a movement of data based on state data of data buffer, the method comprising:
implementing a task scheduler that causes an execution of a target task of a pair of dependent tasks based on identifying a state of a data buffer utilized by the pair of dependent tasks,
wherein:
the task scheduler tracks either a read token or a write token that is generated based on a performance of one task of the pair of dependent tasks,
the performance of the one task includes either executing a write operation to the data buffer or executing a read operation of the data buffer, and
tracking either the read token or the write token informs the state of the data buffer; and
configuring the task scheduler based on:
(i) a task graph for a target application, and
(ii) allocations of data buffers for distinct pairs of dependent tasks of the task graph,
wherein configuring the task scheduler includes:
programming token-based launching conditions based on one or more data dependencies between the pairs of dependent tasks, that when satisfied, causes the task scheduler to cause an execution of one or more tasks of the pair of dependent tasks.
|