Patent ID: 9632761
Date: 2017-04-25
CPC Classifications: G06F

Claim:
1. A method of distributing a workload of an application to a graphics processing unit (GPU), comprising: identifying an indication that an instantiation of an object-oriented class included in an application is executable on a GPU, wherein a source code portion of the application includes the class and is executable on the GPU, and wherein the indication is included in the application; obtaining an intermediate representation of the source code portion of the application, wherein the intermediate representation is machine-independent binary code; compiling the intermediate representation into a set of instructions that is native to the GPU, wherein a node provides a runtime environment for the intermediate representation and is executable on a heterogeneous plurality of platforms, the set of instructions includes a binary representation of the source code portion executable on the GPU, and execution of the set of instructions on the GPU includes processing a workload of the application; transforming data associated with the types native to the GPU; and sending to the GPU a communication including the set of instructions executable on the GPU and the one or more data types native to the GPU, wherein the communication causes the GPU to execute the set of instructions using the one or more data types native to the GPU.