Constant scalar register architecture for acceleration of delay sensitive algorithm
AssigneeNanjing Iluvatar CoreX Technology Co., Ltd. (DBA “Iluvatar CoreX Inc. Nanjing”)
InventorsCheng Li, Pingping Shao, Pei Luo
Life of this patent
Estimating the term…
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.
Claims9
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.
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.
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.
Dependencies are inferred from the claim text.