# US 2024/0061704 A1 · Processor graph execution using interrupt conservation

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

- Number: US 2024/0061704 A1
- Document ID: US20240061704A1
- Status: Published application
- Kind: A1
- Application number: 18/385,624
- Filed: 2023-10-31
- Published: 2024-02-22
- Earliest claimed: 2020-12-17
- Assignees: Wave Computing, Inc.
- Applicants: Wave Computing, Inc.
- Inventors: David John Simpson
- Web page: https://patentgrep.com/patent/US20240061704A1

## CPC

- G06F 9/4812: {by interrupt, e.g. masked}
- G06N 3/063: using electronic means
- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 20/00: Machine learning
- 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

Techniques for data manipulation using processor graph execution using interrupt conservation are disclosed. Processing elements are configured to implement a data flow graph. The processing elements comprise a multilayer graph execution engine. A data engine is loaded with computational parameters for the multilayer graph execution engine. The data engine is coupled to the multilayer graph execution engine, and the computational parameters supply layer-by-layer execution data to the multilayer graph execution engine for data flow graph execution. A first command FIFO is used for loading the data engine with computational parameters, and a second command FIFO is used for loading the multilayer graph execution engine with layer definition data. An input image is provided for a first layer of the multilayer graph execution engine. The data flow graph is executed using the input image and the computational parameters. The executing is controlled by interrupts only when an uncertainty exists within the data flow graph.

## Claims

### Claim 1

A processor-implemented method for data manipulation comprising:
configuring a plurality of processing elements to implement a data flow graph, wherein the processing elements comprise a multilayer graph execution engine;
loading a data engine with computational parameters for the multilayer graph execution engine using one or more first command FIFO registers, wherein an order of commands in the one or more first command FIFO registers corresponds to an order of flow in the data flow, and wherein the data engine is coupled to the multilayer graph execution engine, and wherein the computational parameters supply layer-by-layer execution data to the multilayer graph execution engine for data flow graph execution;
providing input data for a first layer of the multilayer graph execution engine; and
executing the data flow graph using the input data and the computational parameters, wherein the executing is controlled by interrupts only when an uncertainty exists as to whether the order of commands in the one or more FIFO registers corresponds to the order of flow in the data flow graph.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The method of claim 1 further comprising loading the multilayer graph execution engine with layer definition data using a second command FIFO.

### Claim 4 (depends on 3)

The method of claim 3 wherein the second command FIFO enables an interrupt generation control bit.

### Claim 5 (depends on 4)

The method of claim 4 wherein the interrupt generation control bit is set based on graph topology of the data flow graph implemented on the multilayer graph execution engine.

### Claim 6 (depends on 3)

The method of claim 3 wherein an order of commands in the first command FIFO and the second command FIFO determines execution order in the multilayer graph execution engine.

### Claim 7 (depends on 1)

The method of claim 1 wherein the executing the data flow graph is controlled by an interrupt generated by completion of the providing input data.

### Claim 8 (depends on 1)

The method of claim 1 wherein the executing the data flow graph is controlled by an interrupt generated by completion of both the providing input data for the first layer and loading the first layer with corresponding first layer computational parameters.

### Claim 9 (depends on 1)

The method of claim 1 wherein the uncertainty results from starting graph execution before all data is loaded into the graph execution engine.

### Claim 10 (depends on 1)

The method of claim 1 wherein the uncertainty results from a lack of explicit dependency notification.

### Claim 11 (depends on 10)

The method of claim 10 wherein the lack of explicit dependency notification is caused by an overlap of loading and execution of the graph execution engine.

### Claim 12 (depends on 10)

The method of claim 10 wherein the lack of explicit dependency notification is caused by non-determinism of loads from memory.

### Claim 13 (depends on 1)

The method of claim 1 wherein the data engine is coupled to the multilayer graph execution engine using a high-speed buffer.

### Claim 14 (depends on 1)

The method of claim 1 wherein the loading the data engine is performed on a per layer basis for each layer of the multilayer graph execution engine.

### Claim 15 (depends on 1)

The method of claim 1 wherein one or more layers of the multilayer graph execution engine are configured to perform a matrix multiplication operation.

### Claim 16 (depends on 15)

The method of claim 15 wherein the matrix multiplication operation enables neural network functionality.

### Claim 17 (depends on 15)

The method of claim 15 wherein the matrix multiplication operation is part of a convolutional neural network layer.

### Claim 18 (depends on 1)

The method of claim 1 wherein the computational parameters for loading the data engine are determined by a processor distinct from the processing elements.

### Claim 19 (depends on 1)

The method of claim 1 wherein the processing elements are part of a reconfigurable fabric.

### Claim 20 (depends on 1)

The method of claim 1 wherein each processing element is controlled by one or more circular buffers.

### Claim 21 (depends on 20)

The method of claim 20 wherein the one or more circular buffers are statically scheduled.

### Claim 22 (depends on 1)

The method of claim 1 wherein the data flow graph implements machine learning.

### Claim 23

A computer program product embodied in a non-transitory computer readable medium for data manipulation, the computer program product comprising code which causes one or more processors to perform operations of:
configuring a plurality of processing elements to implement a data flow graph, wherein the processing elements comprise a multilayer graph execution engine;
loading a data engine with computational parameters for the multilayer graph execution engine using one or more first command FIFO registers, wherein an order of commands in the one or more first command FIFO registers corresponds to an order of flow in the data flow, and wherein the data engine is coupled to the multilayer graph execution engine, and wherein the computational parameters supply layer-by-layer execution data to the multilayer graph execution engine for data flow graph execution;
providing input data for a first layer of the multilayer graph execution engine; and
executing the data flow graph using the input data and the computational parameters, wherein the executing is controlled by interrupts only when an uncertainty exists as to whether the order of commands in the one or more FIFO registers corresponds to the order of flow in the data flow graph.

### Claim 24

A computer system for data manipulation comprising:
a memory which stores instructions;
one or more processors coupled to the memory wherein the one or more processors, when executing the instructions which are stored, are configured to:
configure a plurality of processing elements to implement a data flow graph, wherein the processing elements comprise a multilayer graph execution engine;
load a data engine with computational parameters for the multilayer graph execution engine using one or more first command FIFO registers, wherein an order of commands in the one or more first command FIFO registers corresponds to an order of flow in the data flow, and wherein the data engine is coupled to the multilayer graph execution engine, and wherein the computational parameters supply layer-by-layer execution data to the multilayer graph execution engine for data flow graph execution;
provide input data for a first layer of the multilayer graph execution engine; and
execute the data flow graph using the input data and the computational parameters, wherein the executing is controlled by interrupts only when an uncertainty exists as to whether the order of commands in the one or more FIFO registers corresponds to the order of flow in the data flow graph.
