Patent ID: 8375374
Filing Date: 2013-02-12
Classification: G06F

Abstract:
1. A method, in a data processing system, for optimizing code to be run in a heterogeneous data processing environment, comprising: generating a call graph for program code; identifying characteristics of procedures in the call graph, wherein identifying the characteristics of the procedures in the call graph further comprises, for each procedure in the procedures: comparing the characteristics of the procedures to characteristics of processing units in the heterogeneous data processing environment, wherein comparing characteristics of the procedures to characteristics of processing units in the heterogeneous data processing environment comprises: selecting, for each of the procedures, a processing unit to execute the procedure based on results of the comparison, wherein selecting a processing unit to execute the procedure based on results of the comparison comprises: partitioning the program code in accordance with the selection of the processing unit for each procedure; and generating executable program code based on the partitioned program code.