# US 2020/0264891 A1 · Constant scalar register architecture for acceleration of delay sensitive algorithm

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

- Number: US 2020/0264891 A1
- Document ID: US20200264891A1
- Status: Published application
- Kind: A1
- Application number: 16/281,052
- Filed: 2019-02-20
- Published: 2020-08-20
- Earliest claimed: 2019-02-20
- Assignees: Nanjing Iluvatar CoreX Technology Co., Ltd. (DBA “Iluvatar CoreX Inc. Nanjing”)
- Applicants: Nanjing Iluvatar CoreX Technology Co., Ltd. (DBA “Iluvatar CoreX Inc. Nanjing”)
- Inventors: Cheng Li; Pingping Shao; Pei Luo
- Web page: https://patentgrep.com/patent/US20200264891A1

## CPC

- G06F 9/3013: {according to data content, e.g. floating-point registers, address registers}
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/3009: {Thread control instructions}
- G06F 9/30105: {Register structure}
- G06F 9/30123: {according to context, e.g. thread buffers}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the invention provides a technical solution by modifying or changing unused scalar register to become constant scalar register. By using unused scalar register, aspects of the invention may decrease latency of scalar processing while decrease reiteration in the scalar processing. Embodiments of the invention further reduce the need for separate data store units, such as cache or other storage units.

## Claims

### Claim 1

A graphics processing subsystem, comprising:
a graphics processing unit (GPU) operable to:
identifying a scalar register file associated with the GPU, said scalar register file having a total number of scalar register allocations;
identifying units needed for scalar processing for a kernel execution;
assigning scalar registers in the scalar register file for the kernel execution;
identifying remaining unused units in the scalar register file from the total number of scalar register allocations;
assigning scalar registers of the remaining unused units in the scalar register file to store constant scalar values for the kernel execution;
initializing the scalar register file before the kernel execution; and
launching the kernel execution.

### Claim 2 (depends on 1)

The graphics processing subsystem of claim 1 further comprising upon completion of the kernel execution, recycling the unused units before a next kernel execution.

### Claim 3 (depends on 1)

The graphics processing subsystem of claim 1, wherein assigning scalar registers in the scalar register file for the kernel execution comprises assigning scalar registers in the scalar register file for one or more threads of the kernel execution.

### Claim 4

A computer-implemented method processed by a graphics processing unit comprising:
identifying a scalar register file associated with the GPU, said scalar register file having a total number of scalar register allocations;
identifying units needed for scalar processing for a kernel execution;
assigning scalar registers in the scalar register file for the kernel execution;
identifying remaining unused units in the scalar register file from the total number of scalar register allocations;
assigning scalar registers of the remaining unused units in the scalar register file to store constant scalar values for the kernel execution;
initializing the scalar register file before the kernel execution; and
launching the kernel execution.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4 further comprising upon completion of the kernel execution, recycling the unused units before a next kernel execution.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, wherein assigning scalar registers in the scalar register file for the kernel execution comprises assigning scalar registers in the scalar register file for one or more threads of the kernel execution.

### Claim 7

A system for reusing unused scalar registers comprising:
a memory that is configured to store instructions for execution by threads;
a graphics processing unit (GPU) configured to execute scalar and vector instructions, wherein the GPU is configured to:
identifying, via a thread controller, a scalar register file associated with the GPU, said scalar register file having a total number of scalar register allocations;
identifying, via the thread controller, units needed for scalar processing for a kernel execution;
assigning, via the thread controller, scalar registers in the scalar register file for the kernel execution;
identifying, via the thread controller, remaining unused units in the scalar register file from the total number of scalar register allocations;
assigning, via the thread controller, scalar registers of the remaining unused units in the scalar register file to store constant scalar values for the kernel execution;
initializing, via the thread controller, the scalar register file before the kernel execution; and
launching, via the thread controller, the kernel execution.

### Claim 8 (depends on 7)

The system of claim 7 further comprising upon completion of the kernel execution, recycling the unused units before a next kernel execution.

### Claim 9 (depends on 7)

The system of claim 7, wherein assigning scalar registers in the scalar register file for the kernel execution comprises assigning scalar registers in the scalar register file for one or more threads of the kernel execution.
