RETARGETTING AN APPLICATION PROGRAM FOR EXECUTION BY A GENERAL PURPOSE PROCESSOR
    1.
    发明申请
    RETARGETTING AN APPLICATION PROGRAM FOR EXECUTION BY A GENERAL PURPOSE PROCESSOR 有权
    重新设计一个通用处理程序执行的应用程序

    公开(公告)号:US20090259832A1

    公开(公告)日:2009-10-15

    申请号:US12407711

    申请日:2009-03-19

    IPC分类号: G06F9/38

    摘要: One embodiment of the present invention sets forth a technique for translating application programs written using a parallel programming model for execution on multi-core graphics processing unit (GPU) for execution by general purpose central processing unit (CPU). Portions of the application program that rely on specific features of the multi-core GPU are converted by a translator for execution by a general purpose CPU. The application program is partitioned into regions of synchronization independent instructions. The instructions are classified as convergent or divergent and divergent memory references that are shared between regions are replicated. Thread loops are inserted to ensure correct sharing of memory between various threads during execution by the general purpose CPU.

    摘要翻译: 本发明的一个实施例提出了一种用于翻译使用并行编程模型编写的应用程序的技术,用于在多核图形处理单元(GPU)上执行以由通用中央处理单元(CPU)执行。 依赖于多核GPU的特定功能的应用程序的部分由翻译器转换,以供通用CPU执行。 应用程序被划分为独立于同步的指令的区域。 指令被分类为在区域之间共享的收敛或发散和不同的存储器引用。 插入线程循环以确保在通用CPU执行期间在不同线程之间正确共享内存。