发明授权
- 专利标题: System and method for representing and managing a multi-architecture co-processor application program
- 专利标题(中): 用于表示和管理多架构协处理器应用程序的系统和方法
-
申请号: US11938755申请日: 2007-11-12
-
公开(公告)号: US08281294B1公开(公告)日: 2012-10-02
- 发明人: Julius Vanderspek , Nicholas Patrick Wilt , Jayant Kolhe , Ian A. Buck , Bastiaan Aarts
- 申请人: Julius Vanderspek , Nicholas Patrick Wilt , Jayant Kolhe , Ian A. Buck , Bastiaan Aarts
- 申请人地址: US CA Santa Clara
- 专利权人: NVIDIA Corporation
- 当前专利权人: NVIDIA Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Patterson & Sheridan, LLP
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
One embodiment of the present invention sets forth a technique for representing and managing a multi-architecture co-processor application program. Source code for co-processor functions is compiled in two stages. The first stage incorporates a majority of the computationally intensive processing steps associated with co-processor code compilation. The first stage generates virtual assembly code from the source code. The second stage generates co-processor machine code from the virtual assembly. Both the virtual assembly and co-processor machine code may be included within the co-processor enabled application program. A co-processor driver uses a description of the currently available co-processor to select between virtual assembly and co-processor machine code. If the virtual assembly code is selected, then the co-processor driver compiles the virtual assembly into machine code for the current co-processor.
信息查询