Patent ID: 8769510
Filing Date: 2014-07-01
Classification: G06F

Abstract:
1. A method comprising: receiving, by a computing device, program code; receiving, by the computing device, an input size and type information associated with inputs to the program code; performing, by the computing device, a static analysis of the program code to identify portions of the program code; determining, by the computing device prior to execution of the program code and based on the input size and the type information, a portion of the program code, of the portions of the program code, that is executable by a graphical processing unit (GPU) determining, prior to execution of the program code and based on the input size and the type information, a portion of the program code, of the portions of the program code, that is executable by a central processing unit (CPU) compiling, by the computing device, the portion of the program code that is executable by the GPU to create a compiled GPU-executable portion of the program code; compiling, by the computing device, the portion of the program code that is executable by the CPU to create a compiled CPU-executable portion of the program code; providing, to the GPU for execution and by the computing device, the compiled GPU-executable portion of the program code; and providing, to the CPU for execution and by the computing device, the compiled CPU-executable portion of the program code.