# US 2019/0325551 A1 · Node Topology Employing Recirculating Ring Command and Data Buffers for Executing Thread Scheduling

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

- Number: US 2019/0325551 A1
- Document ID: US20190325551A1
- Status: Published application
- Kind: A1
- Application number: 16/416,179
- Filed: 2019-05-18
- Published: 2019-10-24
- Earliest claimed: 2017-03-06
- Assignees: ThinCI, Inc.
- Applicants: Thinci, Inc.
- Inventors: Val G. Cook; Satyaki Koneru; Ke Yin; Dinakar C. Munagala
- Web page: https://patentgrep.com/patent/US20190325551A1

## CPC

- G06T 1/60: Memory management
- A01C 3/02: Storage places for manure, e.g. cisterns for liquid manure; Installations for fermenting manure
- A01D 3/02: with percussive tools
- G06T 15/005: {General purpose rendering architectures}
- G06T 2200/28: involving image processing hardware
- G06T 2215/12: Shadow map, environment map
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- A01C: PLANTING; SOWING; FERTILISING (parts, details or accessories of agricultural machines or implements, in general A01B51/00 - A01B75/00)
- A01D: HARVESTING; MOWING
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The claimed invention discloses system comprising a plurality of logical nodes comprised in a single or plurality of stages, with defined properties and resources associated with each node, for reducing compute resources, said system further comprising: at least a recirculating ring buffer holding only any one of a control information, input, and, or out data necessary to stream a temporary data between node and, or nodes in an execution graph, thereby reducing size of said recirculating ring buffer; said recirculating ring buffer being sufficiently reduced in size to reside in an on-chip cache, such that any one of the control information, input, and, or out data between node and, or nodes need not be stored in memory; wherein the control information further comprises a command related to invalidating any one of the input and, or out data held in a recirculating ring data buffer, clearing the buffer of tasked data; and wherein a producer is stalled from writing any more control information into a recirculating ring command buffer upon the buffer being full, preventing command buffer over-writing, and thereby reducing compute resources associated with a DRAM memory transaction.

## Claims

### Claim 1

A system comprising a plurality of logical nodes comprised in a single or plurality of stages, with defined properties and resources associated with each node, for reducing compute resources, said system further comprising:
at least a recirculating ring buffer holding only any one of a control information, input, and, or out data necessary to stream a temporary data between node and, or nodes in an execution graph, thereby reducing size of said recirculating ring buffer;
said recirculating ring buffer being sufficiently reduced in size to reside in an on-chip cache, such that any one of the control information, input, and, or out data between node and, or nodes need not be stored in memory;
wherein the control information further comprises a command related to invalidating any one of the input and, or out data held in a recirculating ring data buffer, clearing the buffer of tasked data; and
wherein a producer is stalled from writing any more control information into a recirculating ring command buffer upon the buffer being full, preventing command buffer over-writing, and thereby reducing compute resources associated with a DRAM memory transaction.

### Claim 2 (depends on 1)

The system of claim 1, wherein the control information further comprises any of, or combination of, an execution command and, or a command related to synchronization between the nodes.

### Claim 3 (depends on 1)

The system of claim 1, wherein the invalidation of any one of the data held in the recirculating ring buffer is by a command held in a command buffer and, or program.

### Claim 4 (depends on 3)

The system of claim 3, wherein the invalidation of any one of the data held in the recirculating ring buffer is based on completion of processing a graph task.

### Claim 5 (depends on 1)

The system of claim 1, wherein the recirculating ring buffer residing in the on-chip cache are data buffers holding input data and, or out data.

### Claim 6 (depends on 5)

The system of claim 5, wherein the input data and, or out data is generated by a producer and read by a consumer, whereby the producer and consumer are closer in a memory hierarchy due to the input data and, or out data held in the recirculating ring buffer residing in the on-chip cache.

### Claim 7 (depends on 1)

The system of claim 1, wherein the recirculating ring buffer is a command buffer, whereby commands are written into the recirculating ring buffer by a producer and commands are read by a consumer.

### Claim 8 (depends on 1)

The system of claim 1, wherein the writing of input and, or out data is by updating a write-only pointer in a context buffer by the producer; and the reading of input and, or out data is by processing a read-only pointer in a context buffer by the consumer.

### Claim 9 (depends on 8)

The system of claim 8, wherein the writing of informational control data is by updating a write-only pointer in a context buffer by the producer; and the reading of informational control data by processing a read-only pointer in a context buffer by the consumer.

### Claim 10 (depends on 8)

The system of claim 8, wherein the context buffer is pre-fetched.

### Claim 11 (depends on 9)

The system of claim 9, wherein the context buffer is pre-fetched.

### Claim 12 (depends on 1)

The system of claim 1, wherein the recirculating ring buffer utilizes addressing that wraps to the beginning of the recirculating ring buffer once the end has been reached.

### Claim 13 (depends on 1)

The system of claim 1, wherein multiple graph task executions occur concurrently, thereby not requiring a sequential stage-stage and, or node at a time processing.

### Claim 14 (depends on 1)

The system of claim 1, wherein the size of the recirculating ring buffer may vary.

### Claim 15

A system to employ re-circulating ring buffers to reduce computing power, said system comprising of:
at least a set of logical nodes, wherein said nodes are further comprised in a single or a plurality of stages, connected together in an arbitrary topology;
at least one recirculating ring buffer, said buffer further comprising any one of at least a control information, input and, or out data delivering temporary data between said stage and, or said node in an execution graph, such that any one of the control information, input, and, or out data between node and, or nodes need not be stored in memory;
a buffer management module, said module managing buffer content and traffic via a write pointer queue and a read pointer queue, operably coupled via a cache gauge; wherein the read pointer queue alerts a cache gauge of an impending completion of a graph task and, or a maximum capacity of any one the recirculating ring buffer and the cache gauge updates the write pointer queue; and
based on the write pointer queue updates, direct compute resources to prepare for a producer stall and, or buffer clear.

### Claim 16

A method comprising a plurality of logical nodes comprised in a single or plurality of stages, with defined properties and resources associated with each node, for reducing compute resources, said method comprising the steps of:
holding only any one of a control information, input, and, or out data necessary to stream a temporary data between node and, or nodes in an execution graph in any one of a recirculating ring buffer, thereby reducing size of said recirculating ring buffer;
residing said recirculating ring buffer in an on-chip cache, such that any one of the control information, input, and, or out data between node and, or nodes need not be stored in memory;
invalidating any one of the input and, or out data held in a recirculating ring data buffer, clearing the buffer of tasked data; and stalling a producer from writing any more control information into a recirculating ring command buffer upon the buffer being full, preventing command buffer over-writing, and thereby reducing compute resources associated with a DRAM memory transaction.
