Method And System For Enabling Managed Code-Based Application Program To Access Graphics Processing Unit
AssigneeNVIDIA Corporation
InventorMeng-Shiue YU
Life of this patent
Estimating the term…
Abstract
One embodiment of the present invention sets forth a method for enabling an intermediate code-based application program to access a target graphics processing unit (GPU) in a parallel processing environment. The method includes the steps of 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 graphics processing unit before delivering the machine code to the target GPU.
Claims19
A method for preparing a PTX instruction code to enable an intermediate code-based application program to access a target graphics processing unit (GPU) in a parallel processing environment, comprising:
- scanning for an attribute annotation associated with a section of a source code for the intermediate code-based application program;
- and
- translating the section of the source code to the PTX instruction code for the target GPU according to the attribute annotation.
A parallel processing-capable computer system for enabling an intermediate code-based application program to access a target graphics processing unit (GPU), comprising:
- a first graphics system with the target GPU;
- and
- a host computer that is in communication with the first graphics system, comprising a system memory wherein the system memory comprises:
- a compiler for compiling a source code of the intermediate code-based application program along with an attribute annotation associated with a section of the source code;
- and
- a translator for scanning for the attribute annotation, and translating the section of the source code to a PTX instruction code according to the attribute annotation.
A computer-readable medium containing a sequence of instructions executable within a computer system including a host computer having a processing unit and a physical memory, wherein the sequence of instructions, when executed by the processing unit, causes the processing unit to:
- compile a source code of an intermediate code-based application program and an attribute annotation associated with a section of the source code;
- scan for the attribute annotation;
- and
- translate the section of the source code to a PTX instruction code according to the attribute annotation.
Dependencies are inferred from the claim text.