# US 2021/0279181 A1 · Systems and methods in a graphics environment for providing shared virtual memory addressing support for a host system

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

- Number: US 2021/0279181 A1
- Document ID: US20210279181A1
- Status: Published application
- Kind: A1
- Application number: 17/246,954
- Filed: 2021-05-03
- Published: 2021-09-09
- Earliest claimed: 2020-03-03
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Joydeep Ray; Altug Koker; Aditya Navale; Ankur Shah; Murali Ramadoss; Ben Ashbaugh; Ronald Silvas
- Web page: https://patentgrep.com/patent/US20210279181A1

## CPC

- G06F 12/1072: Decentralised address translation, e.g. in distributed shared memory systems
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 12/0615: {Address space extension}
- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1016: Performance improvement
- G06F 2212/1041: Resource optimization
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F 2212/656: Address space sharing
- G06F 2212/657: Virtual address space management
- 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)
- 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

Systems and methods for providing shared virtual memory addressing support for a host system are disclosed. In one embodiment, a graphics processor includes processing resources to perform graphics operations. A memory management unit (MMU) is coupled to the processing resources. The MMU to support a first virtual address size for managing allocation of non-shared virtual memory and to support a second virtual address size for managing allocation of shared virtual memory that is shared between the graphics processor and a host.

## Claims

### Claim 1

A graphics processor, comprising:
at least one processing resource to perform graphics operations; and
memory management circuitry coupled to the at least one processing resource, the memory management circuitry to support a first virtual address size for managing allocation of non-shared virtual memory in a virtual address space and to support a second different virtual address size for managing allocation of shared virtual memory in the virtual address space.

### Claim 2 (depends on 1)

The graphics processor of claim 1, wherein the memory management circuitry to read an address field for a memory access to determine whether to append a device base address to the first virtual address size.

### Claim 3 (depends on 2)

The graphics processor of claim 2, wherein the memory management circuitry to append a device base address to the first virtual address size to support the second virtual address size when the address field is set to a first logical value.

### Claim 4 (depends on 2)

The graphics processor of claim 2, wherein the address field is set to a second logical value when managing allocation of non-shared virtual memory.

### Claim 5 (depends on 1)

The graphics processor of claim 1, wherein the memory management circuitry to manage non-shared virtual memory in contiguous and aligned first virtual address size within a first portion of the virtual address space for the second virtual address size.

### Claim 6 (depends on 5)

The graphics processor of claim 5, wherein the memory management circuitry to manage shared virtual memory in the second virtual address size within a second different portion of the virtual address space to avoid conflict with user mode allocations.

### Claim 7 (depends on 1)

The graphics processor of claim 1, wherein the first virtual address size comprises an address width of 48 bits and the second virtual address size comprises an address width of 57 bits.

### Claim 8 (depends on 1)

The graphics processor of claim 1, wherein the processing resources support the second virtual address size.

### Claim 9 (depends on 1)

The graphics processor of claim 1, wherein the shared virtual memory is shared between the graphics processor and I/O devices or a host.

### Claim 10

A graphics processing unit, comprising:
processing resources to perform graphics operations; and
memory management circuitry coupled to the processing resources, the memory management circuitry having a unified memory feature to support multiple virtual address widths for managing allocation of non-shared virtual memory and for managing allocation of shared virtual memory in a virtual address space.

### Claim 11 (depends on 10)

The graphics processing unit of claim 10, wherein the memory management circuitry to read an address field for a memory access to determine whether to append a device base address to a first virtual address width of the multiple virtual address widths.

### Claim 12 (depends on 11)

The graphics processing unit of claim 11, wherein the memory management circuitry to append a device base address to the first virtual address width to support a second virtual address width of the multiple virtual address widths when the address field is set to a first logical value.

### Claim 13 (depends on 11)

The graphics processing unit of claim 11, wherein the address field is set to a second logical value when managing allocation of non-shared virtual memory.

### Claim 14 (depends on 10)

The graphics processing unit of claim 10, wherein the memory management circuitry to manage non-shared virtual memory in contiguous and aligned first virtual address width within a first portion of the virtual address space for the second virtual address width.

### Claim 15 (depends on 14)

The graphics processing unit of claim 14, wherein the memory management circuitry to manage shared virtual memory in the second virtual address width within a second different portion of the virtual address space to avoid conflict with user mode allocations.

### Claim 16 (depends on 10)

The graphics processing unit of claim 10, wherein the first virtual address width comprises an address width of 48 bits and the second virtual address width comprises an address width of 57 bits.

### Claim 17 (depends on 10)

The graphics processing unit of claim 10, wherein the shared virtual memory is shared between the graphics processing unit and a host.

### Claim 18

A computer implemented method for providing unified memory feature of a graphics multiprocessor, comprising:
setting an address field for a memory access to indicate whether to support a first virtual address size for managing allocation of non-shared virtual memory in a virtual address space or to support a second virtual address size for managing allocation of shared virtual memory in the virtual address space that is shared between the graphics multiprocessor and a host; and
reading the address field for the memory access to determine whether to support the first virtual address size or to support the second virtual address size.

### Claim 19 (depends on 18)

The computer implemented method of claim 18, further comprising:
determining a first logical value for the address field;
appending, with the MMU, a device base address to the first virtual address size to support the second virtual address size for system mode managing allocation of shared virtual memory; and
relocating the system mode managing allocation of shared virtual memory from a first region to a second region of a virtual address space.

### Claim 20 (depends on 19)

The computer implemented method of claim 19, further comprising:
determining a second logical value for the address field; and
locating the user mode managing allocation of non-shared virtual memory to the first region of the virtual address space.
