-
公开(公告)号:US09367291B2
公开(公告)日:2016-06-14
申请号:US14228868
申请日:2014-03-28
Inventor: Jin-Seok Lee , Seong-Gun Kim , Dong-Hoon Yoo , Seok-Joong Hwang , Jeongho Nah , Jaejin Lee , Jun Lee
IPC: G06F9/45
CPC classification number: G06F8/40
Abstract: An apparatus and method for generating vector code are provided. The apparatus and method generate vector code using scalar-type kernel code, without user's changing a code type or modifying data layout, thereby enhancing user's convenience of use and retaining the portability of OpenCL.
Abstract translation: 提供了一种用于产生矢量码的装置和方法。 该设备和方法使用标量型内核代码生成向量代码,无需用户更改代码类型或修改数据布局,从而提高用户使用方便性并保留OpenCL的可移植性。
-
公开(公告)号:US09280330B2
公开(公告)日:2016-03-08
申请号: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: 提供了一种用于执行代码的设备和方法。 该装置包括:存储器管理器,其在存储器中分配堆栈以存储需要保留的处理数据; 基于屏障功能将被编程为并行处理的程序代码划分为区域的环路发生器,将包含需要保留在栈中的处理数据的区域变换为第一聚结循环,并且将使用 将存储在堆栈中的处理数据转换成第二聚结循环,使得变换的程序代码可以被串行处理; 以及循环更换器,其与第一聚结循环的处理顺序相比逆转第二聚结循环的处理顺序。
-
公开(公告)号:US11003449B2
公开(公告)日:2021-05-11
申请号:US16256266
申请日:2019-01-24
Applicant: Samsung Electronics Co., Ltd.
Inventor: Moo-Kyoung Chung , Woong Seo , Ho-Young Kim , Soo-Jung Ryu , Dong-Hoon Yoo , Jin-Seok Lee , Yeon-Gon Cho , Chang-Moo Kim , Seung-Hun Jin
IPC: G06F9/30
Abstract: A swizzle pattern generator is provided to reduce an overhead due to execution of a swizzle instruction in vector processing. The swizzle pattern generator is configured to provide swizzle patterns with respect to data sets of at least one vector register or vector processing unit. The swizzle pattern generator may be reconfigurable to generate various swizzle patterns for different vector operations.
-
公开(公告)号:US09665354B2
公开(公告)日:2017-05-30
申请号:US14268383
申请日:2014-05-02
Applicant: Samsung Electronics Co., Ltd.
Inventor: Seong-Gun Kim , Dong-Hoon Yoo , Jin-Seok Lee , Seok-Joong Hwang
IPC: G06F9/45
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.
-
-
-