发明申请
- 专利标题: RETARGETTING AN APPLICATION PROGRAM FOR EXECUTION BY A GENERAL PURPOSE PROCESSOR
- 专利标题(中): 重新设计一个通用处理程序执行的应用程序
-
申请号: US12407711申请日: 2009-03-19
-
公开(公告)号: US20090259832A1公开(公告)日: 2009-10-15
- 发明人: Vinod GROVER , Bastiaan Joannes Matheus AARTS , Michael MURPHY , Boris BEYLIN , Jayant B. KOLHE , Douglas SAYLOR
- 申请人: Vinod GROVER , Bastiaan Joannes Matheus AARTS , Michael MURPHY , Boris BEYLIN , Jayant B. KOLHE , Douglas SAYLOR
- 主分类号: G06F9/38
- 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.