System and method for representing and managing a multi-architecture co-processor application program
    11.
    发明授权
    System and method for representing and managing a multi-architecture co-processor application program 有权
    用于表示和管理多架构协处理器应用程序的系统和方法

    公开(公告)号:US08281294B1

    公开(公告)日:2012-10-02

    申请号:US11938755

    申请日:2007-11-12

    IPC分类号: G06F9/45

    CPC分类号: G06F9/44547 G06F8/447

    摘要: 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.

    摘要翻译: 本发明的一个实施例提出了一种用于表示和管理多架构协处理器应用程序的技术。 协处理器功能的源代码分两个阶段编译。 第一阶段包含与协处理器代码编译相关联的大部分计算密集型处理步骤。 第一阶段从源代码生成虚拟汇编代码。 第二阶段从虚拟程序集中生成协处理器机器代码。 虚拟装配和协处理器机器码都可以包括在支持协处理器的应用程序中。 协处理器驱动程序使用当前可用的协处理器的描述来在虚拟装配和协处理器机器代码之间进行选择。 如果选择了虚拟汇编代码,则协处理器驱动程序将虚拟程序集编译为当前协处理器的机器代码。