# US 2024/0004562 A1 · Dynamic memory reconfiguration

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

- Number: US 2024/0004562 A1
- Document ID: US20240004562A1
- Status: Published application
- Kind: A1
- Application number: 17/854,903
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Advanced Micro Devices, Inc.; ATI Technologies ULC
- Applicants: Advanced Micro Devices, Inc.; Ati Technologies Ulc
- Inventors: Mark Fowler; Anthony Asaro; Vydhyanathan Kalyanasundharam
- Web page: https://patentgrep.com/patent/US20240004562A1

## CPC

- G06F 3/0631: {by allocating resources to storage systems}
- G06F 12/0607: {Interleaved addressing}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing system including a parallel processing unit selectively allocating pages of memory for interleaving across configurable subsets of channels based on a mode of allocation. In some embodiments, in a first mode, a page of memory is allocated to and interleaved across a plurality of channels, and in a second mode, a page of memory is allocated to and interleaved across a subset of the plurality of channels.

## Claims

### Claim 1

A method comprising:
allocating a memory page to be interleaved across a plurality of channels in a first mode; and
allocating the memory page to be interleaved across a subset of the plurality of channels in a second mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first mode comprises allocating the memory page to a unified memory architecture that is shared by a plurality of parallel processing unit chips and the second mode comprises allocating the memory page to a non-uniform memory architecture that is private to a single parallel processing unit chip.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting the first mode in response to the memory page being shared by the plurality of parallel processing unit chips; and
selecting the second mode in response to the memory page being accessed by a single parallel processing unit chip.

### Claim 4 (depends on 3)

The method of claim 3, wherein selecting the first mode is in response to the memory page comprising one or more of a texture and a vertex buffer.

### Claim 5 (depends on 3)

The method of claim 3, wherein selecting the second mode is in response to the memory page comprising one or more of thread private memory and a render target.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
indicating use of the first mode at a first physical address aperture; and
indicating use of the second mode at a second physical address aperture.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of channels corresponds to a plurality of memory devices shared by a plurality of parallel processing unit chips and the subset of the plurality of channels corresponds to a memory device that is private to a parallel processing unit chip.

### Claim 8

An apparatus, comprising:
a plurality of memory devices;
a plurality of parallel processing unit chips configured to access data stored at the plurality of memory devices via a plurality of channels; and
a kernel mode driver configured to:
allocate a memory page to be interleaved across the plurality of channels in a first mode; and
allocate the memory page to be interleaved across a subset of the plurality of channels in a second mode.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the first mode comprises allocating the memory page to a unified memory architecture that is shared by the plurality of parallel processing unit chips and the second mode comprises a non-uniform memory architecture that is private to a single parallel processing unit chip.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the kernel mode driver is further configured to:
select the first mode in response to the memory page being shared by the parallel processing unit chips; and
select the second mode in response to the memory page being accessed by a single parallel processing unit chip.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the kernel mode driver is to select the first mode in response to the memory page comprising one or more of a texture and a vertex buffer.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the kernel mode driver is to select the second mode in response to the memory page comprising one or more of thread private memory and a render target.

### Claim 13 (depends on 8)

The apparatus of claim 8, the kernel mode driver is to:
indicate use of the first mode at a first physical address aperture; and
indicate use of the second mode at a second physical address aperture.

### Claim 14

A method, comprising:
interleaving a first memory page across a plurality of channels shared by a plurality of parallel processing unit chips in a first mode; and
interleaving a second memory page across a subset of the plurality of channels shared by a subset of the plurality of parallel processing unit chips in a second mode.

### Claim 15 (depends on 14)

The method of claim 14, wherein the first mode comprises allocating the first memory page to a unified memory architecture that is shared by the plurality of parallel processing unit chips and the second mode comprises allocating the second memory page to a non-uniform memory architecture that is private to a subset of the plurality of parallel processing unit chips.

### Claim 16 (depends on 14)

The method of claim 14, further comprising:
selecting the first mode in response to the memory page being shared by the plurality of parallel processing unit chips; and
selecting the second mode in response to the memory page being accessed by a single parallel processing unit chip.

### Claim 17 (depends on 16)

The method of claim 16, wherein selecting the first mode is in response to the memory page comprising one or more of a texture and a vertex buffer.

### Claim 18 (depends on 16)

The method of claim 16, wherein selecting the second mode is in response to the memory page comprising one or more of thread private memory and a render target.

### Claim 19 (depends on 14)

The method of claim 14, further comprising:
indicating use of the first mode at a first physical address aperture; and
indicating use of the second mode at a second physical address aperture.

### Claim 20 (depends on 14)

The method of claim 14, wherein the plurality of channels correspond to a plurality of memory devices shared by the plurality of parallel processing unit chips and the subset of the plurality of channels corresponds to a memory device that is private to a subset of the plurality of parallel processing unit chips.
