# US 2021/0286733 A1 · Memory Sharing Via a Unified Memory Architecture

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

- Number: US 2021/0286733 A1
- Document ID: US20210286733A1
- Status: Published application
- Kind: A1
- Application number: 17/179,828
- Filed: 2021-02-19
- Published: 2021-09-16
- Earliest claimed: 2012-08-17
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Jayanth N. Rao; Murali Sundaresan
- Web page: https://patentgrep.com/patent/US20210286733A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/00: Accessing, addressing or allocating within memory systems or architectures (digital input from, or digital output to record carriers, e.g. to disk storage units, G06F3/06)
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 1/60: Memory management
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 2212/455: Image or video data
- G06F 2212/6042: Allocation of cache space to multiple users or processors
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F 2212/656: Address space sharing
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- 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

A method and system for sharing memory between a central processing unit (CPU) and a graphics processing unit (GPU) of a computing device are disclosed herein. The method includes allocating a surface within a physical memory and mapping the surface to a plurality of virtual memory addresses within a CPU page table. The method also includes mapping the surface to a plurality of graphics virtual memory addresses within an I/O device page table.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A mobile computing system, comprising:
an integrated display device;
a system memory to store instructions and data; and
a processing apparatus coupled with the system memory, the processing apparatus including:
a central processing unit (CPU);
a graphics processing unit (GPU) coupled with the CPU on a same die, the CPU and the GPU to share a region of the system memory, the GPU and CPU to have a shared virtual address space to reference the region of the system memory, wherein at least a portion of the region of the system memory is to be mapped within a page table associated with the GPU; and
a shared last-level cache coupled with the CPU and the GPU, the shared last-level cache to cache data corresponding to respective memory accesses to the shared virtual address space by the CPU and the GPU.

### Claim 22 (depends on 21)

The mobile computing system as in claim 21, wherein the display device includes a touchscreen.

### Claim 23 (depends on 22)

The mobile computing system as in claim 22, additionally comprising a touchpad.

### Claim 24 (depends on 21)

The mobile computing system as in claim 21, wherein the system memory comprises dynamic random access (DRAM) memory.

### Claim 25 (depends on 21)

The mobile computing system as in claim 21, wherein the region of the system memory is to enable access to a common data structure within the shared virtual address space by the CPU and the GPU.

### Claim 26 (depends on 21)

The mobile computing system as in claim 21, wherein the CPU is to map a GPU virtual address to the region of the system memory, the GPU virtual address mapped within a GPU page table.

### Claim 27 (depends on 21)

The mobile computing system as in claim 21, wherein the region of the system memory is to store a pointer-based data structure and the GPU is to access data in the pointer-based data structure via a pointer.

### Claim 28 (depends on 21)

The mobile computing system as in claim 21, wherein the region of the system memory is to be allocated by the CPU in response to input from an application to be executed on the CPU.

### Claim 29 (depends on 21)

The mobile computing system as in claim 21, the CPU to synchronize page table data for the CPU and the GPU.

### Claim 30

A mobile computing device including:
a memory device; and
a processing apparatus coupled with the memory device, the processing apparatus including:
a central processing unit (CPU);
a graphics processing unit (GPU) coupled with the CPU on a same die, the CPU and the GPU to share a region of memory of the memory device, the GPU and CPU to have a shared virtual address space to reference the region of the memory, wherein at least a portion of the region of the memory is to be mapped within a page table associated with the GPU; and
a shared last-level cache coupled with the CPU and the GPU, the shared last-level cache to cache data corresponding to respective memory accesses to the shared virtual address space by the CPU and the GPU.

### Claim 31 (depends on 30)

The mobile computing device as in claim 30, wherein the memory device includes dynamic random access (DRAM) memory.

### Claim 32 (depends on 30)

The mobile computing device as in claim 30, wherein the region of the memory is to enable access to a common data structure within the shared virtual address space by the CPU and the GPU.

### Claim 33 (depends on 30)

The mobile computing device as in claim 30, wherein the CPU is to map a GPU virtual address to the region of the memory, the GPU virtual address mapped within a GPU page table.

### Claim 34 (depends on 30)

The mobile computing device as in claim 30, wherein the region of the memory is to store a pointer-based data structure and the GPU is to access data in the pointer-based data structure via a pointer.

### Claim 35 (depends on 30)

The mobile computing device as in claim 30, wherein the region of the memory is to be allocated by the CPU in response to input from an application to be executed on the CPU.

### Claim 36 (depends on 30)

The mobile computing device as claim 30, the CPU to synchronize page table data for the CPU and the GPU.

### Claim 37

A non-transitory machine-readable medium storing instructions to cause one or more processors to perform operations to enable sharing of virtual memory, the operations including:
sharing a region of memory between a central processing unit (CPU) and a graphics processing unit (GPU) on a same die, the GPU and CPU having a shared virtual address space within the region of the memory; and
accessing data within the region of the memory by the CPU and the GPU, wherein at least a portion of the region of the memory is mapped within a page table associated with the GPU, wherein accessing data with the region of the memory by the CPU and the GPU includes accessing the data within a last-level cache shared by the CPU and the GPU.

### Claim 38 (depends on 37)

The non-transitory machine-readable medium as in claim 37, additionally including accessing, by the CPU and the GPU, a common data structure within the shared virtual address space.

### Claim 39 (depends on 37)

The non-transitory machine-readable medium as in claim 37, additionally including mapping, by the CPU, a GPU virtual address to the region of the memory, the GPU virtual address mapped within a GPU page table.

### Claim 40 (depends on 37)

The non-transitory machine-readable medium as in claim 37, wherein the region of memory is to store a pointer-based data structure, the GPU is to access data in the pointer-based data structure via a pointer, and the region of the memory is allocated by the CPU in response to input from an application executing on the CPU.
