# US 2022/0291957 A1 · Parallel processing architecture with distributed register files

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

- Number: US 2022/0291957 A1
- Document ID: US20220291957A1
- Status: Published application
- Kind: A1
- Application number: 17/752,898
- Filed: 2022-05-25
- Published: 2022-09-15
- Earliest claimed: 2020-09-09
- Assignees: Ascenium, Inc.
- Applicants: Ascenium, Inc.
- Inventors: Peter Foley
- Web page: https://patentgrep.com/patent/US20220291957A1

## CPC

- G06F 8/445: {Exploiting fine grain parallelism, i.e. parallelism at instruction level (run-time instruction scheduling G06F9/3836)}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/3012: {Organisation of register space, e.g. banked or distributed register file}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for task processing based on a parallel processing architecture with distributed register files are disclosed. A two-dimensional array of compute elements is accessed. Each compute element is known to a compiler and is coupled to its neighboring compute elements. The array of compute elements is controlled on a cycle-by-cycle basis. The controlling is enabled by a stream of wide, variable length, control words generated by the compiler. Virtual registers are mapped to a plurality of physical register files distributed among one or more of the compute elements. Virtual registers are represented by the compiler. The mapping is performed by the compiler. A broadcast write operation is enabled to two or more of the physical register files. Operations contained in the control words are executed. Operations are enabled by at least one of the distributed physical register files. Implementation in separate compute elements enables parallel operation processing.

## Claims

### Claim 1

A processor-implemented method for task processing comprising:
accessing a two-dimensional (2D) array of compute elements, wherein each compute element within the array of compute elements is known to a compiler and is coupled to its neighboring compute elements within the array of compute elements;
controlling the array of compute elements on a cycle-by-cycle basis, wherein the controlling is enabled by a stream of wide, variable length, control words generated by the compiler;
mapping virtual registers to a plurality of physical register files distributed among one or more of the compute elements, wherein the mapping is performed by the compiler; and
executing operations contained in the control words, wherein the operations are enabled by at least one of the plurality of distributed physical register files.

### Claim 2 (depends on 1)

The method of claim 1 wherein the virtual registers are represented by the compiler.

### Claim 3 (depends on 2)

The method of claim 2 wherein the number of physical registers is greater than the number of virtual registers.

### Claim 4 (depends on 3)

The method of claim 3 wherein at least one of the virtual registers is mapped to at least two physical registers.

### Claim 5 (depends on 4)

The method of claim 4 wherein the at least two physical registers are implemented in separate compute elements within the array of compute elements.

### Claim 6 (depends on 5)

The method of claim 5 wherein the implementation in separate compute elements enables parallel operation processing.

### Claim 7 (depends on 2)

The method of claim 2 wherein the number of virtual registers is greater than the number of physical registers.

### Claim 8 (depends on 1)

The method of claim 1 wherein the mapping of the virtual registers includes renaming by the compiler.

### Claim 9 (depends on 8)

The method of claim 8 wherein the renaming by the compiler enables distributed execution of operations.

### Claim 10 (depends on 9)

The method of claim 9 wherein the distributed execution of operations occurs in two or more compute elements within the array of compute elements.

### Claim 11 (depends on 8)

The method of claim 8 wherein the renaming by the compilers is based on a table of register files.

### Claim 12 (depends on 8)

The method of claim 8 wherein the renaming enables the compiler to orchestrate execution of operations using the physical register files.

### Claim 13 (depends on 1)

The method of claim 1 wherein each of the physical register files comprises a memory element with two read ports and one write port (2R1W).

### Claim 14 (depends on 13)

The method of claim 13 wherein a plurality of 2R1W physical register files is distributed throughout the array.

### Claim 15 (depends on 13)

The method of claim 13 wherein the 2R1W physical register files effectively provide 256-bit reads and 128-bit writes per cycle.

### Claim 16 (depends on 1)

The method of claim 1 further comprising enabling a broadcast write operation to two or more of the physical register files.

### Claim 17 (depends on 16)

The method of claim 16 wherein each of the two or more physical register files is distributed in a compute element of the array of compute elements.

### Claim 18 (depends on 1)

The method of claim 1 wherein the compiler maps machine learning functionality to the array of compute elements.

### Claim 19 (depends on 18)

The method of claim 18 wherein the machine learning functionality includes a neural network implementation.

### Claim 20 (depends on 1)

The method of claim 1 wherein the stream of wide, variable length, control words generated by the compiler provides direct, fine-grained control of the 2D array of compute elements.

### Claim 21

A computer program product embodied in a non-transitory computer readable medium for task processing, the computer program product comprising code which causes one or more processors to perform operations of:
accessing a two-dimensional (2D) array of compute elements, wherein each compute element within the array of compute elements is known to a compiler and is coupled to its neighboring compute elements within the array of compute elements;
controlling the array of compute elements on a cycle-by-cycle basis, wherein the controlling is enabled by a stream of wide, variable length, control words generated by the compiler;
mapping virtual registers to a plurality of physical register files distributed among one or more of the compute elements, wherein the mapping is performed by the compiler; and
executing operations contained in the control words, wherein the operations are enabled by at least one of the plurality of distributed physical register files.

### Claim 22

A computer system for task processing 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:
access a two-dimensional (2D) array of compute elements, wherein each compute element within the array of compute elements is known to a compiler and is coupled to its neighboring compute elements within the array of compute elements;
control the array of compute elements on a cycle-by-cycle basis, wherein the controlling is enabled by a stream of wide, variable length, control words generated by the compiler;
map virtual registers to a plurality of physical register files distributed among one or more of the compute elements, wherein the mapping is performed by the compiler; and
execute operations contained in the control words, wherein the operations are enabled by at least one of the plurality of distributed physical register files.
