# US 2012/0075319 A1 · Hierarchical Memory Addressing

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

- Number: US 2012/0075319 A1
- Document ID: US20120075319A1
- Status: Published application
- Kind: A1
- Application number: 13/241,745
- Filed: 2011-09-23
- Published: 2012-03-29
- Earliest claimed: 2010-09-24
- Assignees: NVIDIA Corporation
- Inventors: William James Dally
- Web page: https://patentgrep.com/patent/US20120075319A1

## CPC

- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 12/0811: with multilevel cache hierarchies
- G06F 2212/251: Local memory within processor subsystem
- G06F 2212/2515: being configurable for different purposes, e.g. as cache or non-cache memory
- G06F 2212/253: Centralized memory
- G06F 2212/302: In image processor or graphics adapter
- G06F 2213/0038: System on Chip
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One embodiment of the present invention sets forth a technique for addressing data in a hierarchical graphics processing unit cluster. A hierarchical address is constructed based on the location of a storage circuit where a target unit of data resides. The hierarchical address comprises a level field indicating a hierarchical level for the unit of data and a node identifier that indicates which GPU within the GPU cluster currently stores the unit of data. The hierarchical address may further comprise one or more identifiers that indicate which storage circuit in a particular hierarchical level currently stores the unit of data. The hierarchical address is constructed and interpreted based on the level field. The technique advantageously enables programs executing within the GPU cluster to efficiently access data residing in other GPUs using the hierarchical address.

## Claims

### Claim 1

A method for accessing a unit of data stored within a unified memory associated with a hierarchical computation system, the method comprising:
determining a hierarchy level for the unit of data within the hierarchical computation system;
generating a partial hierarchical address for the unit of data based on the hierarchical level and a node identifier associated with the unit of data;
appending a first hierarchical level identifier and an offset to the partial hierarchical address to generate a hierarchical address for the unit of data; and
requesting access to the unit of data based on the hierarchical address.

### Claim 2 (depends on 1)

The method of claim 1, wherein the node identifier comprises a unique value corresponding to a processing unit associated with the hierarchical computation system.

### Claim 3 (depends on 2)

The method of claim 2, wherein the processing unit comprises a graphics processing unit.

### Claim 4 (depends on 2)

The method of claim 2, wherein the processing unit comprises a central processing unit.

### Claim 5 (depends on 1)

The method of claim 1, wherein the hierarchy level and node identifier are concatenated and stored as a set of most significant bits within the hierarchical address.

### Claim 6 (depends on 1)

The method of claim 1, wherein the offset is stored as a set of least significant bits within the hierarchical address.

### Claim 7 (depends on 1)

The method of claim 1, wherein requesting access comprises executing a block transfer operation using the hierarchical address to transfer a cache line of data from a first memory circuit within a first GPU to a second memory circuit within a second GPU.

### Claim 8

A computer-readable storage medium including instructions that, when executed by a processing unit, cause the processing unit to access a unit of data stored within a unified memory associated with a hierarchical computation system, the method comprising:
determining a hierarchy level for the unit of data within the hierarchical computation system;
generating a partial hierarchical address for the unit of data based on the hierarchical level and a node identifier associated with the unit of data;
appending a first hierarchical level identifier and an offset to the partial hierarchical address to generate a hierarchical address for the unit of data; and
requesting access to the unit of data based on the hierarchical address.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, wherein the node identifier comprises a unique value corresponding to a processing unit associated with the hierarchical computation system.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein the processing unit comprises a graphics processing unit.

### Claim 11 (depends on 9)

The computer-readable storage medium of claim 9, wherein the processing unit comprises a central processing unit.

### Claim 12 (depends on 8)

The computer-readable storage medium of claim 8, wherein the hierarchy level and node identifier are concatenated and stored as a set of most significant bits within the hierarchical address.

### Claim 13 (depends on 8)

The computer-readable storage medium of claim 8, wherein the offset is stored as a set of least significant bits within the hierarchical address.

### Claim 14 (depends on 8)

The computer-readable storage medium of claim 8, wherein requesting access comprises executing a block transfer operation using the hierarchical address to transfer a cache line of data from a first memory circuit within a first GPU to a second memory circuit within a second GPU.

### Claim 15

A computing device comprising:
a memory controller configured to:
determine a hierarchy level for the unit of data within the hierarchical computation system;
generate a partial hierarchical address for the unit of data based on the hierarchical level and a node identifier associated with the unit of data;
append a first hierarchical level identifier and an offset to the partial hierarchical address to generate a hierarchical address for the unit of data; and
request access to the unit of data based on the hierarchical address.

### Claim 16 (depends on 11)

The computing device of claim 11, wherein the node identifier comprises a unique value corresponding to a processing unit associated with the hierarchical computation system.

### Claim 17 (depends on 16)

The computing device of claim 16, wherein the processing unit comprises a graphics processing unit.

### Claim 18 (depends on 16)

The computing device of claim 16, wherein the processing unit comprises a central processing unit.

### Claim 19 (depends on 15)

The computing device of claim 15, wherein the hierarchy level and node identifier are concatenated and stored as a set of most significant bits within the hierarchical address.

### Claim 20 (depends on 15)

The computing device of claim 15, wherein the offset is stored as a set of least significant bits within the hierarchical address.

### Claim 21 (depends on 15)

The computing device of claim 15, wherein to request access, the memory controller is configured to execute a block transfer operation using the hierarchical address to transfer a cache line of data from a first memory circuit within a first GPU to a second memory circuit within a second GPU.

### Claim 22 (depends on 15)

The computing device of claim 15, wherein the hierarchical address includes a second hierarchical level identifier associated with the unit of data.
