APPARATUS AND METHOD FOR TRANSLATING MULTITHREAD PROGRAM CODE
    1.
    发明申请
    APPARATUS AND METHOD FOR TRANSLATING MULTITHREAD PROGRAM CODE 有权
    用于翻译多重程序代码的装置和方法

    公开(公告)号:US20140331216A1

    公开(公告)日:2014-11-06

    申请号:US14268383

    申请日:2014-05-02

    Abstract: A method and apparatus for translating a multithread program code are provided. The method includes: dividing a multithread program code into a plurality of statements according to a synchronization point; generating at least one loop group by combining one or more adjacent statements based on a number of instructions included in the plurality of statements; expanding or renaming variables in each of the plurality of statements so that each statement included in the at least one loop group is executed with respect to a work item of a different work group; and enclosing each of the generated at least one loop group respectively with a work item coalescing loop.

    Abstract translation: 提供了一种用于翻译多线程程序代码的方法和装置。 该方法包括:根据同步点将多线程程序代码划分为多个语句; 通过基于所述多个语句中包括的指令的数目组合一个或多个相邻语句来生成至少一个循环组; 扩展或重命名所述多个语句中的每一个中的变量,使得包括在所述至少一个循环组中的每个语句相对于不同工作组的工作项执行; 并且分别将生成的至少一个循环组中的每一个包围工件项聚合循环。

    APPARATUS AND METHOD FOR EXECUTING CODE
    2.
    发明申请
    APPARATUS AND METHOD FOR EXECUTING CODE 有权
    执行代码的装置和方法

    公开(公告)号:US20140344793A1

    公开(公告)日:2014-11-20

    申请号:US14230462

    申请日:2014-03-31

    CPC classification number: G06F8/452 G06F8/314 G06F8/447

    Abstract: An apparatus and method for executing code are provided. The apparatus includes a memory manager that allocates a stack in memory to store processed data that needs to be retained; a loop generator that divides program code programmed to be processed in parallel into regions based on a barrier function, transforms a region that includes the processed data that needs to be retained in the stack into a first coalescing loop, and transforms a region that uses the processed data stored in the stack into a second coalescing loop such that the transformed program code may be serially processed; and a loop changer that reverses a processing order of the second coalescing loop in comparison to a processing order of the first coalescing loop.

    Abstract translation: 提供了一种用于执行代码的设备和方法。 该装置包括:存储器管理器,其在存储器中分配堆栈以存储需要保留的处理的数据; 基于屏障功能将被编程为并行处理的程序代码划分为区域的环路发生器,将包含需要保留在栈中的处理数据的区域变换为第一聚结循环,并且将使用 将存储在堆栈中的处理数据转换成第二聚结循环,使得变换的程序代码可以被串行处理; 以及循环更换器,其与第一聚结循环的处理顺序相比逆转第二聚结循环的处理顺序。

Patent Agency Ranking