-
公开(公告)号:US20140344793A1
公开(公告)日:2014-11-20
申请号:US14230462
申请日:2014-03-31
Applicant: Samsung Electronics Co., Ltd.
Inventor: Jin-Seok LEE , Seong-Gun KIM , Dong-Hoon YOO , Seok-Joong HWANG
IPC: G06F9/45
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: 提供了一种用于执行代码的设备和方法。 该装置包括:存储器管理器,其在存储器中分配堆栈以存储需要保留的处理的数据; 基于屏障功能将被编程为并行处理的程序代码划分为区域的环路发生器,将包含需要保留在栈中的处理数据的区域变换为第一聚结循环,并且将使用 将存储在堆栈中的处理数据转换成第二聚结循环,使得变换的程序代码可以被串行处理; 以及循环更换器,其与第一聚结循环的处理顺序相比逆转第二聚结循环的处理顺序。