# US 2024/0211397 A1 · Processor Cluster Address Generation

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

- Number: US 2024/0211397 A1
- Document ID: US20240211397A1
- Status: Published application
- Kind: A1
- Application number: 18/438,932
- Filed: 2024-02-12
- Published: 2024-06-27
- Earliest claimed: 2019-04-01
- Assignees: Wave Computing, Inc.
- Applicants: Wave Computing, Inc.
- Inventors: David John Simpson; Stephen Curtis Johnson; Richard Douglas Trauben
- Web page: https://patentgrep.com/patent/US20240211397A1

## CPC

- G06F 12/0646: {Configuration or reconfiguration}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06F 2212/1041: Resource optimization
- 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 cluster address generation are disclosed. One or more processor clusters capable of executing software-initiated work requests are accessed. A plurality of dimensions from a tensor is flattened into a single dimension. A work request address field is parsed, where the address field contains unique address space descriptors for each of the plurality of dimensions, along with a common address space descriptor. A direct memory access (DMA) engine coupled to the one or more processor clusters is configured. Addresses are generated based on the unique address space descriptors and the common address space descriptor. The plurality of dimensions can be summed to generate a single address. Memory is accessed using two or more of the addresses that were generated. The addresses are used to enable DMA access.

## Claims

### Claim 1

A processor-implemented method for data manipulation comprising:
accessing one or more processors capable of executing software-initiated work requests;
flattening a tensor having a plurality of dimensions into a single dimension;
parsing a work request address field, wherein the address field contains unique address space descriptors for each of the plurality of dimensions of the tensor along with a common address space descriptor;
generating addresses, based on the unique address space descriptors and the common address space descriptor;
accessing memory, using two or more of the addresses that were generated, at the respective locations in memory specified by the two or more addresses; and
performing, by the one or more processors, one or more computer operations on data at the accessed respective locations in memory specified by the two or more addresses.

### Claim 2 (depends on 1)

The method of claim 1 further comprising configuring a direct memory access (DMA) engine coupled to the one or more processors.

### Claim 3 (depends on 2)

The method of claim 2 further comprising jumping an address offset within a flattened dimensional space based on the flattening.

### Claim 4 (depends on 3)

The method of claim 3 wherein the address offset is based on a DMA dimension.

### Claim 5 (depends on 3)

The method of claim 3 further comprising jumping a second address offset within the flattened dimensional space.

### Claim 6 (depends on 5)

The method of claim 5 wherein the second address offset is based on a second DMA dimension.

### Claim 7 (depends on 2)

The method of claim 2 wherein the addresses are used to enable DMA access.

### Claim 8 (depends on 1)

The method of claim 1 further comprising summing across the plurality of dimensions to generate a single address.

### Claim 9 (depends on 1)

The method of claim 1 wherein the plurality of dimensions includes four dimensions.

### Claim 10 (depends on 9)

The method of claim 9 wherein the plurality of dimensions does not include channels.

### Claim 11 (depends on 10)

The method of claim 10 further comprising summing across channels as part of a convolution operation.

### Claim 12 (depends on 1)

The method of claim 1 further comprising using five dimensions to read results of the flattening.

### Claim 13 (depends on 12)

The method of claim 12 wherein the results of the flattening comprise a two-dimensional object.

### Claim 14 (depends on 12)

The method of claim 12 wherein the five dimensions include height x width within a first dimension.

### Claim 15 (depends on 14)

The method of claim 14 wherein channels comprise a second dimension.

### Claim 16 (depends on 15)

The method of claim 15 wherein the channels comprise RGB information.

### Claim 17 (depends on 15)

The method of claim 15 wherein batch size comprises a third dimension.

### Claim 18 (depends on 1)

The method of claim 1 wherein the generating comprises establishing five programming loops to accomplish five-dimensional (5-D) address generation.

### Claim 19 (depends on 18)

The method of claim 18 wherein the 5-D address generation enables a convolution to be performed on a matrix multiply engine.

### Claim 20 (depends on 18)

The method of claim 18 wherein the 5-D address is a portion of a larger dimensional address.

### Claim at position 21

21-32. (canceled)

### Claim 33

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:
accessing one or more processors capable of executing software-initiated work requests;
flattening a tensor having a plurality of dimensions into a single dimension;
parsing a work request address field, wherein the address field contains unique address space descriptors for each of the plurality of dimensions of the tensor along with a common address space descriptor;
generating addresses, based on the unique address space descriptors and the common address space descriptor;
accessing memory, using two or more of the addresses that were generated, at the respective locations in memory specified by the two or more addresses; and
providing, to the one or more processors, data at the accessed respective locations in memory specified by the two or more addresses.

### Claim 34

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:
access one or more processors capable of executing software-initiated work requests;
flatten a tensor having a plurality of dimensions into a single dimension;
parse a work request address field, wherein the address field contains unique address space descriptors for each of the plurality of dimensions of the tensor along with a common address space descriptor;
generate addresses, based on the unique address space descriptors and the common address space descriptor;
access memory, using two or more of the addresses that were generated, at the respective locations in memory specified by the two or more addresses; and
provide, to the one or more processors, data at the accessed respective locations in memory specified by the two or more addresses.

### Claim 35 (depends on 1)

The method of claim 1, wherein each of the one or more processors comprises any of: a central processing unit (CPU), a graphics processing unit (GPU), an arithmetic processor, a multiplication processor, a reconfigurable processor, a reconfigurable integrated circuit or chip, or an application-specific integrated circuit (ASIC).
