# US 2020/0004538 A1 · Apparatuses, methods, and systems for conditional operations in a configurable spatial accelerator

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

- Number: US 2020/0004538 A1
- Document ID: US20200004538A1
- Status: Published application
- Kind: A1
- Application number: 16/024,849
- Filed: 2018-06-30
- Published: 2020-01-02
- Earliest claimed: 2018-06-30
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Kermin E. FLEMING, JR.; Ping ZOU; Mitchell DIAMOND; Benjamin KEEN
- Web page: https://patentgrep.com/patent/US20200004538A1

## CPC

- G06F 9/30072: {to perform conditional operations, e.g. using predicates or guards}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 15/17325: {Synchronisation; Hardware support therefor (intertask synchronisation G06F9/52)}
- G06F 15/825: {Dataflow computers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and apparatuses relating to conditional operations in a configurable spatial accelerator are described. In one embodiment, a hardware accelerator includes an output buffer of a first processing element coupled to an input buffer of a second processing element via a first data path that is to send a first dataflow token from the output buffer of the first processing element to the input buffer of the second processing element when the first dataflow token is received in the output buffer of the first processing element; an output buffer of a third processing element coupled to the input buffer of the second processing element via a second data path that is to send a second dataflow token from the output buffer of the third processing element to the input buffer of the second processing element when the second dataflow token is received in the output buffer of the third processing element; a first backpressure path from the input buffer of the second processing element to the first processing element to indicate to the first processing element when storage is not available in the input buffer of the second processing element; a second backpres sure path from the input buffer of the second processing element to the third processing element to indicate to the third processing element when storage is not available in the input buffer of the second processing element; and a scheduler of the second processing element to cause storage of the first dataflow token from the first data path into the input buffer of the second processing element when both the first backpres sure path indicates storage is available in the input buffer of the second processing element and a conditional token received in a conditional queue of the second processing element from another processing element is a first value.

## Claims

### Claim 1

An apparatus comprising:
an output buffer of a first processing element coupled to an input buffer of a second processing element via a first data path that is to send a first dataflow token from the output buffer of the first processing element to the input buffer of the second processing element when the first dataflow token is received in the output buffer of the first processing element;
an output buffer of a third processing element coupled to the input buffer of the second processing element via a second data path that is to send a second dataflow token from the output buffer of the third processing element to the input buffer of the second processing element when the second dataflow token is received in the output buffer of the third processing element;
a first backpres sure path from the input buffer of the second processing element to the first processing element to indicate to the first processing element when storage is not available in the input buffer of the second processing element;
a second backpressure path from the input buffer of the second processing element to the third processing element to indicate to the third processing element when storage is not available in the input buffer of the second processing element; and
a scheduler of the second processing element to cause storage of the first dataflow token from the first data path into the input buffer of the second processing element when both the first backpres sure path indicates storage is available in the input buffer of the second processing element and a conditional token received in a conditional queue of the second processing element from another processing element is a first value.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the scheduler of the second processing element is to cause storage of the second dataflow token from the second data path into the input buffer of the second processing element when both the second backpressure path indicates storage is available in the input buffer of the second processing element and the conditional token received in the conditional queue of the second processing element from the another processing element is a second value.

### Claim 3 (depends on 2)

The apparatus of claim 2, further comprising a scheduler of the third processing element to clear the second dataflow token from the output buffer of the third processing element after both the conditional queue of the second processing element receives the conditional token having the second value and the second dataflow token is stored in the input buffer of the second processing element.

### Claim 4 (depends on 3)

The apparatus of claim 3, further comprising a scheduler of the first processing element to clear the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the scheduler of the second processing element is to cause the first backpres sure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the second value.

### Claim 6 (depends on 1)

The apparatus of claim 1, further comprising a scheduler of the first processing element to clear the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the scheduler of the second processing element is to cause the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the first value.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the scheduler of the second processing element is to, when no conditional token is in the conditional queue, cause the first backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element, and the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element.

### Claim 9

A method comprising:
coupling an output buffer of a first processing element to an input buffer of a second processing element via a first data path that is to send a first dataflow token from the output buffer of the first processing element to the input buffer of the second processing element when the first dataflow token is received in the output buffer of the first processing element;
coupling an output buffer of a third processing element to the input buffer of the second processing element via a second data path that is to send a second dataflow token from the output buffer of the third processing element to the input buffer of the second processing element when the second dataflow token is received in the output buffer of the third processing element;
coupling a first backpres sure path from the input buffer of the second processing element to the first processing element to indicate to the first processing element when storage is not available in the input buffer of the second processing element;
coupling a second backpres sure path from the input buffer of the second processing element to the third processing element to indicate to the third processing element when storage is not available in the input buffer of the second processing element; and
storing, by a scheduler of the second processing element, the first dataflow token from the first data path into the input buffer of the second processing element when both the first backpres sure path indicates storage is available in the input buffer of the second processing element and a conditional token received in a conditional queue of the second processing element from another processing element is a first value.

### Claim 10 (depends on 9)

The method of claim 9, further comprising storing, by the scheduler of the second processing element, the second dataflow token from the second data path into the input buffer of the second processing element when both the second backpressure path indicates storage is available in the input buffer of the second processing element and the conditional token received in the conditional queue of the second processing element from the another processing element is a second value.

### Claim 11 (depends on 10)

The method of claim 10, further comprising a scheduler of the third processing element clearing the second dataflow token from the output buffer of the third processing element after both the conditional queue of the second processing element receives the conditional token having the second value and the second dataflow token is stored in the input buffer of the second processing element.

### Claim 12 (depends on 11)

The method of claim 11, further comprising a scheduler of the first processing element clearing the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 13 (depends on 10)

The method of claim 10, wherein the scheduler of the second processing element causes the first backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the second value.

### Claim 14 (depends on 9)

The method of claim 9, further comprising a scheduler of the first processing element clearing the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 15 (depends on 9)

The method of claim 9, wherein the scheduler of the second processing element causes the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the first value.

### Claim 16 (depends on 9)

The method of claim 9, wherein the scheduler of the second processing element, when no conditional token is in the conditional queue, causes the first backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element, and the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element.

### Claim 17

A non-transitory machine readable medium that stores code that when executed by a machine causes the machine to perform a method comprising:
coupling an output buffer of a first processing element to an input buffer of a second processing element via a first data path that is to send a first dataflow token from the output buffer of the first processing element to the input buffer of the second processing element when the first dataflow token is received in the output buffer of the first processing element;
coupling an output buffer of a third processing element to the input buffer of the second processing element via a second data path that is to send a second dataflow token from the output buffer of the third processing element to the input buffer of the second processing element when the second dataflow token is received in the output buffer of the third processing element;
coupling a first backpres sure path from the input buffer of the second processing element to the first processing element to indicate to the first processing element when storage is not available in the input buffer of the second processing element;
coupling a second backpres sure path from the input buffer of the second processing element to the third processing element to indicate to the third processing element when storage is not available in the input buffer of the second processing element; and
storing, by a scheduler of the second processing element, the first dataflow token from the first data path into the input buffer of the second processing element when both the first backpres sure path indicates storage is available in the input buffer of the second processing element and a conditional token received in a conditional queue of the second processing element from another processing element is a first value.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the method further comprises storing, by the scheduler of the second processing element, the second dataflow token from the second data path into the input buffer of the second processing element when both the second backpres sure path indicates storage is available in the input buffer of the second processing element and the conditional token received in the conditional queue of the second processing element from the another processing element is a second value.

### Claim 19 (depends on 18)

The non-transitory machine readable medium of claim 18, wherein the method further comprises a scheduler of the third processing element clearing the second dataflow token from the output buffer of the third processing element after both the conditional queue of the second processing element receives the conditional token having the second value and the second dataflow token is stored in the input buffer of the second processing element.

### Claim 20 (depends on 19)

The non-transitory machine readable medium of claim 19, wherein the method further comprises a scheduler of the first processing element clearing the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 21 (depends on 18)

The non-transitory machine readable medium of claim 18, wherein the method further comprises the scheduler of the second processing element causing the first backpres sure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the second value.

### Claim 22 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the method further comprises a scheduler of the first processing element clearing the first dataflow token from the output buffer of the first processing element after both the conditional queue of the second processing element receives the conditional token having the first value and the first dataflow token is stored in the input buffer of the second processing element.

### Claim 23 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the method further comprises the scheduler of the second processing element causing the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element when the conditional token received in the conditional queue of the second processing element from another processing element is the first value.

### Claim 24 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the method further comprises the scheduler of the second processing element, when no conditional token is in the conditional queue, causing the first backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element, and the second backpressure path to indicate that storage is not available in the input buffer of the second processing element even when storage is actually available in the input buffer of the second processing element.
