Back to results
US 2014/0181487 A1Published application
Method, apparatus, system for continuous automatic tuning of code regions
AssigneeIntel Corporation
InventorRuchira Sasanka
Life of this patent
Estimating the term…
Abstract
Described herein are mechanisms for continuous automatic tuning of code regions for optimal hardware configurations for the code regions. One mechanism automatically tunes the tunable parameters for a demarcated code region by calculating metrics while executing the code region with different sets of tunable parameters and selecting one of the different sets based on the calculated metrics.
Claims24
A processor comprising:
- a memory to store a set of instructions;
- and
- a processor core coupled to the memory to execute the set of instructions, wherein the processor core is to:
- identify a code region of the set of instructions that is demarcated for automatic tuning of tunable parameters of the processor;
- execute the code region using a first set of tunable parameters;
- calculate a first metric of the code region that uses first set;
- execute the code region using a second set of tunable parameters;
- calculate a second metric of the code region that uses the second set:
- select a third set of tunable parameters for the code region from the first set and the second set based on the first metric and the second metric;
- and
- in response to the selection, applying the third set of tunable parameters to change a system configuration of the processor for subsequent execution of the code region.
8 more elements
A method comprising:
- identifying a code region demarcated for automatic tuning of processor parameters of a processor;
- and
- automatically tuning the processor parameters for the code region, wherein the automatically tuning comprises:
- executing the code region using different combinations of the processor parameters;
- calculating a metric of the execution of the code region for each of the different combinations of the processor parameters;
- and
- selecting a set of processor parameters based on the metrics.
4 more elements
A non-transitory machine-readable storage medium including data that, when accessed by a processor, cause the processor to perform operations comprising:
- identifying a code region demarcated for automatic tuning of processor parameters of the processor;
- and
- automatically tuning the code region, wherein the automatically tuning comprises:
- executing the code region using different sets of the processor parameters;
- calculating a metric of the code region for each of the different sets of the processor parameters;
- and
- selecting a set of processor parameters based on the metrics.
4 more elements
Dependencies are inferred from the claim text.