# US 2025/0190678 A1 · Systems and methods for intelligently buffer tracking for optimized dataflow within an integrated circuit architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0190678 A1
- Document ID: US20250190678A1
- Status: Published application
- Kind: A1
- Application number: 19/062,021
- Filed: 2025-02-25
- Published: 2025-06-12
- Earliest claimed: 2020-03-04
- Assignees: Mythic, Inc.
- Applicants: Mythic, Inc.
- Inventors: Pei-Ci Wu; Andrew Morten; Anthony Romano; Balaji Iyer; Alexander Dang-Tran; Eric Stotzer; David Fick
- Web page: https://patentgrep.com/patent/US20250190678A1

## CPC

- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/045: Combinations of networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods for optimizing data flow in an integrated circuit includes creating a task graph based on transforming an optimized network graph for a neural network application, wherein creating the task graph includes: enumerating a plurality of distinct tasks based on a decomposition of each of a plurality of network operations of the optimized network graph; and allocating a data buffer to each of pairs of dependent tasks of the plurality of distinct tasks based on the decomposition of each of the plurality of network operations of the optimized network graph; encoding a token-informed task scheduler based on a composition of the task graph, wherein the encoding the token-informed task scheduler includes: programming the token-informed task scheduler to cause an execution of the plurality of distinct tasks based on identifying a state of a respective data buffer between each of the pairs of dependent tasks.

## Claims

### Claim 1

A method comprising:
implementing a task scheduler that is configured based on:
(i) a task graph associated with an application, and
(ii) allocations of data buffers for a plurality of tasks associated with the task graph,
wherein configuring the task scheduler includes:
programming token-based launching conditions based on one or more data dependencies between the plurality of tasks, that when satisfied, causes the task scheduler to cause an execution of one or more tasks of the plurality of tasks; and
executing the task scheduler based on identifying a state of the token-based launching conditions.

### Claim 2 (depends on 1)

The method according to claim 1, wherein configuring the task scheduler includes:
generating token-based launching conditions that adjust execution priority of pairs of dependent tasks of the plurality of tasks based on token emissions tracking data readiness and processing state transitions.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
a data buffer comprising an input data buffer and an output data buffer, wherein identifying the state of the token-based launching conditions includes tracking a communication of one or more tokens based on a completion of the one or more tasks of the plurality of tasks involving the input data buffer or the output data buffer.

### Claim 4 (depends on 1)

The method according to claim 1, wherein
identifying the state of the token-based launching conditions includes:
determining whether one or more data dependencies between a pair of dependent tasks of the plurality of tasks are satisfied based on an emission of the one or more tokens.

### Claim 5 (depends on 1)

The method according to claim 1, wherein:
executing the task scheduler includes adaptively modifying token-based launching conditions based on changes in processing load distribution across computing components of an integrated circuit executing the plurality of tasks.

### Claim 6 (depends on 1)

The method according to claim 1, wherein
identifying the state of the token-based launching conditions includes:
identifying one or more tokens that are emitted based on an execution of one or more dependent tasks of the plurality of tasks performing one of a given read operation of a respective data buffer and a given write operation to the respective data buffer.

### Claim 7 (depends on 1)

The method according to claim 1, wherein
each of a first dependent task and a second dependent task of the plurality of tasks communicate through a data buffer allocated between the first dependent task and the second dependent task.

### Claim 8 (depends on 1)

The method according to claim 1, wherein
configuring the task scheduler further includes:
programming a distinct task launching condition for one or more pairs of dependent tasks of the plurality of tasks, wherein the distinct task launching condition includes a requirement that a communication of one or more distinct tokens satisfying the distinct launching condition be observed.

### Claim 9 (depends on 1)

The method according to claim 1, wherein
configuring the task scheduler includes:
programming one or more token counters for a distinct task launching condition for one or more pairs of dependent tasks of the plurality of tasks, wherein the one or more token counters count one or more distinct tokens emitted by one or more components of an integrated circuit that executes the one or more pairs of dependent tasks.

### Claim 10 (depends on 9)

The method according to claim 9, wherein
identifying the state of the token-based launching conditions includes:
evaluating a value of the one or more token counters against launching requirements of the distinct task launching condition for the one or more pairs of dependent tasks of the plurality of tasks.

### Claim 11 (depends on 1)

The method according to claim 1, wherein
the plurality of tasks includes one or more pairs of dependent tasks that respectively include at least:
(1) a first task that performs a write operation to an allocated data buffer; and
(2) a second task that performs one of a given read operation and a write operation to the allocated data buffer only after a completion of the first task.

### Claim 12 (depends on 1)

The method according to claim 1, wherein
the plurality of tasks includes one or more pairs of dependent tasks that respectively include at least:
(1) a first task that performs an associated read operation to an allocated data buffer; and
(2) a second task that performs one of a given read operation and a given write operation to the allocated data buffer after a completion of the first task.

### Claim 13 (depends on 1)

The method according to claim 1, wherein
a first dependent task of a pair of dependent tasks of the plurality of tasks interfacing with an allocated data buffer causes an emission of a distinct token that is tracked by the task scheduler to cause an automatic execution of a second dependent task of the pair of dependent tasks when the distinct token causes a satisfaction of a task launching condition of the second dependent task.

### Claim 14

A system comprising:
a memory;
a task scheduler;
a computer executing a compiler program that creates task scheduling parameters for configuring the task scheduler based on (i) a task graph derived for an application and (ii) allocations of data buffers for a plurality of tasks associated with the task graph,
wherein the computer encodes the task scheduler based on the task scheduling parameters for scheduling an execution of the plurality of tasks associated with the task graph, and
wherein the task scheduler causes an execution of one or more tasks of the plurality of tasks based on identifying a state of a data buffer utilized by the one or more tasks.

### Claim 15 (depends on 14)

The system according to claim 14, wherein
the configuring the task scheduler further includes:
programming the task scheduler to:
(1) track a plurality of distinct tokens emitted by one or more distinct components of an integrated circuit executing the plurality of tasks; and
(2) identify whether a collection of the plurality of distinct tokens satisfy one or more conditions for launching the one or more tasks of the plurality of tasks.

### Claim 16 (depends on 14)

The system according to claim 14, wherein:
the computer encodes a token counter to increment or to decrement based on one or more emissions of one or more distinct task tokens; and
the configuring the task scheduler further includes configuring one or more conditions for launching a task of the plurality of tasks, the one or more conditions, when satisfied by one or more emissions of the one or more distinct task tokens, causes the task scheduler to automatically launch the task.

### Claim 17

A method comprising:
implementing a task scheduler that causes an execution of one or more tasks of a plurality of tasks based on identifying a state of a data buffer utilized by the one or more tasks,
configuring the task scheduler based on:
(i) a task graph associated with a neural network application, and
(ii) allocations of data buffers for the plurality of tasks associated with the task graph,
wherein the configuring the task scheduler includes:
programming the task scheduler to:
(1) track a plurality of distinct tokens emitted by one or more distinct components of an integrated circuit; and
(2) identify whether a collection of the plurality of distinct tokens satisfy one or more task launching conditions associated with the plurality of tasks.

### Claim 18 (depends on 17)

The method according to claim 17, further comprising:
a data buffer comprising an input data buffer and an output data buffer, wherein identifying the state of the token-based launching conditions includes tracking a communication of one or more tokens based on a completion of the one or more tasks of the plurality of tasks involving the input data buffer or the output data buffer.

### Claim 19 (depends on 17)

The method according to claim 17, wherein
identifying the state of the token-based launching conditions includes:
determining whether one or more data dependencies between a pair of dependent tasks of the plurality of tasks are satisfied based on an emission of the one or more tokens.

### Claim 20 (depends on 17)

The method according to claim 17, wherein:
executing the task scheduler includes adaptively modifying token-based launching conditions based on changes in processing load distribution across computing components of an integrated circuit executing the plurality of tasks.
