Thread transition management
First Claim
1. A computer program product for thread transition management, the computer program product comprising:
- a non-transitory computer readable medium having computer readable program code embodied therewith, the computer readable program code comprising computer readable program code configured to;
cause a processor to access two data register sets coupled to a computer memory, the two data register sets usable by the processor as first-level registers for thread execution;
determine whether a quantity of the first-level registers needed to execute one or more threads exceeds a quantity of the first-level registers of the two data register sets; and
responsive to determining that the quantity of the first-level registers needed to execute the one or more threads exceeds the quantity of the first-level registers of the two data register sets, assign a portion of main memory or cache memory as second-level registers, the second-level registers serving as registers of at least one of the two data register sets for executing the one or more threads.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and process for managing thread transitions includes providing two data register sets coupled to a processor and using, by the processor, the two register sets as first-level registers for thread execution. A determination is made whether a quantity of the first-level registers needed to execute one or more threads exceeds a quantity of the first-level registers of the two data register sets. Responsive to determining that the quantity of the first-level registers needed to execute the one or more threads exceeds the quantity of the first-level registers of the two data register sets, a portion of main memory or cache memory is assigned as second-level registers where the second-level registers serve as registers of at least one of the two data register sets for executing the one or more threads.
-
Citations
15 Claims
-
1. A computer program product for thread transition management, the computer program product comprising:
a non-transitory computer readable medium having computer readable program code embodied therewith, the computer readable program code comprising computer readable program code configured to; cause a processor to access two data register sets coupled to a computer memory, the two data register sets usable by the processor as first-level registers for thread execution; determine whether a quantity of the first-level registers needed to execute one or more threads exceeds a quantity of the first-level registers of the two data register sets; and responsive to determining that the quantity of the first-level registers needed to execute the one or more threads exceeds the quantity of the first-level registers of the two data register sets, assign a portion of main memory or cache memory as second-level registers, the second-level registers serving as registers of at least one of the two data register sets for executing the one or more threads. - View Dependent Claims (2, 3, 4, 5)
-
6. A system comprising:
-
a computer memory; two data register sets coupled to the computer memory; and a processor coupled to the two data register sets, the two data register sets usable by the processor as first-level registers for thread execution, the processor configured to; determine whether a quantity of the first-level registers needed to execute one or more threads exceeds a quantity of the first-level registers of the two data register sets; and responsive to determining that the quantity of the first-level registers needed to execute the one or more threads exceeds the quantity of the first-level registers of the two data register sets, assign a portion of main memory or cache memory as second-level registers, the second-level registers serving as registers of at least one of the two data register sets for executing the one or more threads. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method comprising:
-
providing two data register sets coupled to a processor; using, by the processor, the two register sets as first-level registers for thread execution; determining whether a quantity of the first-level registers needed to execute one or more threads exceeds a quantity of the first-level registers of the two data register sets; and responsive to determining that the quantity of the first-level registers needed to execute the one or more threads exceeds the quantity of the first-level registers of the two data register sets, assigning a portion of main memory or cache memory as second-level registers, the second-level registers serving as registers of at least one of the two data register sets for executing the one or more threads. - View Dependent Claims (12, 13, 14, 15)
-
Specification