1. A method for enabling an intermediate code-based application program to access a target graphics processing unit (GPU) in a parallel processing environment, comprising: compiling a source code of the intermediate code-based application program to an intermediate code; translating the intermediate code to a PTX instruction code; and translating the PTX instruction code to a machine code executable by the target GPU before delivering the machine code to the target GPU; wherein the intermediate code is a managed code that is configured to be executed under the management of a first virtual machine, and wherein the first virtual machine comprises a first virtual clustering service associated with a host computer configured to query availability of the target GPU by communicating with a second virtual clustering service associated with the target GPU.