Layered programming for heterogeneous devices
AssigneeAdvanced Micro Devices, Inc.
InventorsLee W. Howes, Dongping Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsLee W. Howes, Dongping Zhang
Estimating the term…
A method, a system, and a non-transitory computer readable medium for parallelizing computer program code including a loop are presented. An intermediate language version of the computer program code is generated based on a parallel type of the loop, wherein the intermediate language version includes information about parallelism in the computer program code. The intermediate language version is optimized at runtime based on the device characteristics where the computer program code is to be executed. The parallel type may include a thread parallel type, wherein the loop is dispatched to multiple threads for execution, or a general parallel type, wherein the loop is dispatched to a single thread and may be vectorized for execution. The intermediate language version may be saved separate from the computer program code.
A method for parallelizing computer program code, the computer program code including a loop, the method comprising:
A system for parallelizing computer program code, the computer program code including a loop, the system comprising:
A non-transitory computer-readable storage medium storing a set of instructions for execution by a general purpose computer to parallelize computer program code, the computer program code including a loop, the set of instructions comprising:
Dependencies are inferred from the claim text.