Providing performance tuned versions of compiled code to a CPU in a system of heterogeneous cores
Abstract
A compiler may optimize source code and any referenced libraries to execute on a plurality of different processor architecture implementations. For example, if a compute node has three different types of processors with three different architecture implementations, the compiler may compile the source code and generate three versions of object code where each version is optimized for one of the three different processor types. After compiling the source code, the resultant executable code may contain the necessary information for selecting between the three versions. For example, when a program loader assigns the executable code to the processor, the system determines the processor's type and ensures only the optimized version that corresponds to that type is executed. Thus, the operating system is free to assign the executable code to any processor based on, for example, the current status of the processor (i.e., whether its CPU is being fully utilized) and still enjoy the benefits of executing code that is optimized for whichever processor is assigned the executable code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of selecting optimized code to be executed in a computing system comprising a first processor and a second processor, comprising: compiling a user-defined function included within a client job received by the computing system to create a first compiled code portion and a second compiled code portion, wherein the first compiled code portion is optimized based on an architecture implementation of the first processor and the second compiled code is optimized based on an architecture implementation of the second processor, wherein the respective architecture implementations of the first a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (1)
- U.S. Appl. No. 13/352,721, entitled "Providing Performance Tuned Versions of Compiled Code to a CPU in a System of Heterogeneous Cores", filed Jan. 18, 2012.