IP Library Granted Patent US 11,836,031
Granted Patent B2
US 11,836,031 · App. 17/094,283 · Granted Dec 5, 2023

Application override of power estimation mechanism

Inventors: Jonathan David Hauke (Austin, TX); Adam Clark (Markham, CA)
Assignees: Advanced Micro Devices, Inc.; ATI Technologies ULC
G06F1/3287G06F1/324
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,836,031
App. No.
17/094,283
Granted
Dec 5, 2023
Kind
B2
Abstract

Systems, apparatuses, and methods for performing a software override of a power estimation mechanism are disclosed. A computing system includes a plurality of tuned parameters for generating an estimate of power consumption. The tuned parameters are generated based on post-silicon characterization of the system. After deployment, the system executes a plurality of different applications. When launching a particular application, the system loads a corresponding set of override parameters which are used to replace the plurality of tuned parameters. The system generates an estimate of power consumption using the set of override parameters rather than the previously determined tuned parameters. Then while executing the particular application, the system makes adjustments to power and frequency values for the various system components based on the estimate of power consumption.

Claims (41)

1. A computing system comprising:

one or more functional circuits;

a power management circuit configured to:

replace an existing set of power-estimation parameters with a first set of override power-estimation parameters associated with a first application, in response to initiating execution of the first application;

generate a first estimate of power consumption by the one or more functional circuits during runtime based on runtime measurements and the first set of override power-estimation parameters while the computing system executes the first application; and

adjust one or more power-related settings for the one or more functional circuits based on the first estimate of power consumption.

2. The computing system as recited in claim 1 , wherein the existing set of power-estimation parameters are default power-estimation parameters generated during a pre-deployment characterization phase, and wherein the one or more power-related settings comprise at least one of a supply voltage magnitude and a clock frequency.

3. The computing system as recited in claim 1 , wherein in response to detecting execution of a second application, the power management circuit is further configured to:

replace the first set of override power-estimation parameters with a second set of override power-estimation parameters which are associated with the second application, in response to execution of the second application;

generate a second estimate of power consumption by the one or more functional circuits based on the second set of override power-estimation parameters while the computing system executes the second application; and

adjust one or more power-related settings for the one or more functional circuits based on the second estimate of power consumption.

4. The computing system as recited in claim 1 , wherein the first set of override power-estimation parameters comprise one or more of: capacitance coefficients, one or more filter coefficients, an error coefficient, and an error rate coefficient for the one or more functional circuits.

5. The computing system as recited in claim 1 , wherein the one or more functional circuits comprise a central processing unit (CPU) and a graphics processing unit (GPU).

6. The computing system as recited in claim 2 , wherein the first application is configured to enable override of the default power-estimation parameters by indicating an override mode of operation.

7. The computing system as recited in claim 6 , wherein in a non-override mode of operation, the existing set of power-estimation parameters are not replaced with the first set of override power-estimation parameters.

8. A method comprising:

replacing an existing set of power-estimation parameters with a first set of override power-estimation parameters associated with a first application, in response to initiating execution of the first application;

generating, by a power management circuit, a first estimate of power consumption by one or more functional circuits during runtime based on runtime measurements and the first set of override power-estimation parameters while a computing system executes the first application; and

adjusting one or more power-related settings for the one or more functional circuits based on the first estimate of power consumption.

9. The method as recited in claim 8 , wherein the existing set of power-estimation parameters are default power-estimation parameters generated during a pre-deployment characterization phase, and wherein the one or more power-related settings comprise at least one of a supply voltage magnitude and a clock frequency.

10. The method as recited in claim 8 , wherein in response to detecting execution of a second application the method comprises:

replacing the first set of override power-estimation parameters with a second set of override power-estimation parameters which are associated with the second application, in response to execution of the second application;

generating a second estimate of power consumption by the one or more functional circuits based on the second set of override power-estimation parameters while the computing system executes the second application; and

adjusting one or more power-related settings for the one or more functional circuits based on the second estimate of power consumption.

11. The method as recited in claim 8 , wherein the first set of override power-estimation parameters comprise one or more of: capacitance coefficients, one or more filter coefficients, an error coefficient, and an error rate coefficient for the one or more functional circuits.

12. The method as recited in claim 8 , wherein the one or more functional circuits comprise a central processing unit (CPU) and a graphics processing unit (GPU).

13. The method as recited in claim 9 , further comprising the first application enabling override of the default power-estimation parameters by indicating an override mode of operation.

14. The method as recited in claim 13 , the first application is configured to indicate the override mode of operation by performing a write to a register.

15. An apparatus comprising:

a control circuit configured to:

replace an existing set of power-estimation parameters with a first set of override power-estimation parameters associated with a first application, in response to initiating runtime execution of the first application;

generate a first estimate of power consumption by one or more functional circuits of a computing system during runtime based on runtime measurements and the first set of override power- estimation parameters while the computing system executes the first application; and

cause adjustments to be made to one or more power-related settings for the one or more functional circuits based on the first estimate of power consumption.

16. The apparatus as recited in claim 15 , wherein the existing set of power-estimation parameters are default power-estimation parameters generated during a pre-deployment.

17. The apparatus as recited in claim 15 , wherein the control circuit is further configured to:

replace the first set of override power-estimation parameters with a second set of override power-estimation parameters which are associated with a second application, in response to execution of the second application;

generate a second estimate of power consumption by the one or more functional circuits based on the second set of override power-estimation parameters while the computing system executes the second application; and

adjust one or more power-related settings for the one or more functional circuits based on the second estimate of power consumption.

18. The apparatus as recited in claim 15 , wherein the first set of override power-estimation parameters comprise one or more of: capacitance coefficients, one or more filter coefficients, an error coefficient, and an error rate coefficient for the one or more functional circuits.

19. The apparatus as recited in claim 15 , wherein the control circuit is configured to replace the existing set of power-estimation parameters with the first set of override power-estimation parameters, in further response to an override mode indication generated by the first application.

20. The apparatus as recited in claim 17 , wherein the first estimate of power consumption causes a first allocation of power to each of the one or more functional circuits, and the second estimate of power consumption causes a reallocation of power from at least one of the one or more functional circuits to a different functional unit.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 2, 2020
From: HAUKE, JONATHAN DAVID
To: ADVANCED MICRO DEVICES, INC.
Reel/Frame 054517/0491 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2020
From: CLARK, ADAM
To: ATI TECHNOLOGIES ULC
Reel/Frame 054404/0398 →
Continuity (1)
Related Publication 20220147134A1 · May 12, 2022
Cited By (1)
US 12,625,542