# US 2025/0095099 A1 · Page faulting and selective preemption

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

- Number: US 2025/0095099 A1
- Document ID: US20250095099A1
- Status: Published application
- Kind: A1
- Application number: 18/893,028
- Filed: 2024-09-23
- Published: 2025-03-20
- Earliest claimed: 2017-04-09
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Altug Koker; Ingo Wald; David Puffer; Subramaniam M. Maiyuran; Prasoonkumar Surti; Balaji Vembu; Guei-Yuan Lueh; Murali Ramadoss; Abhishek R. Appu; Joydeep Ray
- Web page: https://patentgrep.com/patent/US20250095099A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/3009: {Thread control instructions}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F 9/3888: {controlled by a single instruction for multiple threads [SIMT] in parallel}
- G06F 9/461: {Saving or restoring of program or task context}
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One embodiment provides a graphics processor comprising a system interface and circuitry coupled with the system interface. The circuitry includes an execution resource and a preemption status register. The execution resource is configured to execute an instruction. During execution of the instruction, the execution resource is to receive a request to preempt execution of a thread associated with the instruction and, based on a value stored in the preemption status register, execute at least one additional instruction after receipt of the request to preempt execution of the thread.

## Claims

### Claim 1

A graphics processor comprising:
a system interface; and
circuitry coupled with the system interface, the circuitry including an execution resource and a preemption status register, wherein the execution resource is configured to execute an instruction and during execution of the instruction, the execution resource is to:
receive a request to preempt execution of a thread associated with the instruction, wherein the thread is one of a plurality of threads executed for the instruction; and
based on a value associated with the thread, the value stored in the preemption status register, execute at least one additional instruction after receipt of the request to preempt execution of the thread.

### Claim 2 (depends on 1)

The graphics processor as in claim 1, wherein the circuitry includes a decode unit to:
decode the instruction and metadata associated with the instruction; and
set a value of the preemption status register based at least in part on the metadata.

### Claim 3 (depends on 1)

The graphics processor as in claim 1, wherein the preemption status register is configured to store a value that indicates whether preemption for the thread is enabled or disabled.

### Claim 4 (depends on 3)

The graphics processor as in claim 3, wherein the circuitry, in response to the request to preempt execution of the thread associated with the instruction, is to:
determine, based on the preemption status register, that preemption for the thread is disabled; and
execute the at least one additional instruction.

### Claim 5 (depends on 3)

The graphics processor as in claim 3, wherein the circuitry, in response to the request to preempt execution of the thread associated with the instruction, is to:
determine, based on the preemption status register, that preemption for the thread is enabled; and
preempt execution of the thread upon completion of execution of the at least one additional instruction.

### Claim 6 (depends on 1)

The graphics processor as in claim 1, wherein the preemption status register is to store a preemption hint that indicates an amount of register file space in use and a pending change in an amount of register file space in use.

### Claim 7 (depends on 6)

The graphics processor as in claim 6, wherein the preemption hint is a multi-bit value, the multi-bit value encoding an indication of the amount of the register file space in use and the pending change in the amount of the register file space in use

### Claim 8

A method comprising:
on a graphics processor having circuitry including an execution resource and a preemption status register:
executing an instruction via the execution resource;
receiving a request to preempt execution of a thread of a plurality of threads associated with an instruction; and
based on a value associated with the thread, the value stored in the preemption status register, executing at least one additional instruction after receipt of the request to preempt execution of the thread.

### Claim 9 (depends on 8)

The method as in claim 8, further comprising
decoding the instruction and metadata associated with the instruction; and
setting a value of the preemption status register based at least in part on the metadata.

### Claim 10 (depends on 8)

The method as in claim 8, wherein the value of the preemption status register indicates whether preemption for the thread is enabled or disabled.

### Claim 11 (depends on 10)

The method as in claim 10, further comprising:
in response to the request to preempt execution of the thread associated with the instruction:
determining, based on the preemption status register, that preemption for the thread is disabled; and
executing the at least one additional instruction.

### Claim 12 (depends on 11)

The method as in claim 11, wherein the circuitry, in response to the request to preempt execution of the thread associated with the instruction, is to:
determine, based on the preemption status register, that preemption for the thread is enabled; and
preempt execution of the thread upon completion of execution of the at least one additional instruction.

### Claim 13 (depends on 8)

The method as in claim 8, wherein the preemption status register is to store a preemption hint that indicates an amount of register file space in use and a pending change in an amount of register file space in use.

### Claim 14 (depends on 13)

The method as in claim 13, wherein the preemption hint is a multi-bit value, the multi-bit value encoding an indication of the amount of the register file space in use and the pending change in the amount of the register file space in use.

### Claim 15

A data processing system comprising:
a memory device configured to store an instruction; and
a graphics processor coupled to the memory device, the graphics processor including:
circuitry including an execution resource and a preemption status register, wherein the execution resource is configured to execute the instruction and during execution of the instruction, the execution resource is to:
receive a request to preempt execution of a thread associated with the instruction, wherein the thread is one of a plurality of threads executed for the instruction; and
based on a value associated with the thread, the value stored in the preemption status register, execute at least one additional instruction after receipt of the request to preempt execution of the thread.

### Claim 16 (depends on 15)

The data processing system as in claim 15, wherein the circuitry includes a decode unit to:
decode the instruction and metadata associated with the instruction; and
set a value of the preemption status register based at least in part on the metadata.

### Claim 17 (depends on 15)

The data processing system as in claim 15, wherein the preemption status register is configured to store a value that indicates whether preemption for the thread is enabled or disabled.

### Claim 18 (depends on 17)

The data processing system as in claim 17, wherein the circuitry, in response to the request to preempt execution of the thread associated with the instruction, is to:
determine, based on the preemption status register, that preemption for the thread is disabled; and
execute the at least one additional instruction.

### Claim 19 (depends on 17)

The data processing system as in claim 17, wherein the circuitry, in response to the request to preempt execution of the thread associated with the instruction, is to:
determine, based on the preemption status register, that preemption for the thread is enabled; and
preempt execution of the thread upon completion of execution of the at least one additional instruction.

### Claim 20 (depends on 15)

The data processing system as in claim 15, wherein the preemption status register is to store a preemption hint including a multi-bit value that indicates an amount of register file space in use and a pending change in an amount of register file space in use, wherein the preemption hint is to indicate that execution of the at least one additional instruction will cause a reduction of a size of a context save state.
