发明授权
- 专利标题: Program conversion apparatus and computer readable medium
- 专利标题(中): 程序转换装置和计算机可读介质
-
申请号: US13013450申请日: 2011-01-25
-
公开(公告)号: US08732684B2公开(公告)日: 2014-05-20
- 发明人: Nobuaki Tojo , Ken Tanabe , Hidenori Matsuzaki
- 申请人: Nobuaki Tojo , Ken Tanabe , Hidenori Matsuzaki
- 申请人地址: JP Tokyo
- 专利权人: Kabushiki Kaisha Toshiba
- 当前专利权人: Kabushiki Kaisha Toshiba
- 当前专利权人地址: JP Tokyo
- 代理机构: Finnegan, Henderson, Farabow, Garrett & Dunner, L.L.P.
- 优先权: JPP2010-179830 20100810
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
According to one embodiment, a first program code including a plurality of variables is converted to a second program code to be executed by a multi-core processor including a plurality of cores. Specifically, an access pattern of each variable in the first program code is decided. All variables in the first program code are classified into a plurality of groups each of which variables belong to the same access pattern. A member structure of each group having variables belonging to the same access pattern is created. Each member structure includes variables of one group. A route-pointer indicating an address (in a memory) of variables of the member structure is created. The variables in the first program code are converted to the member structure and the route-pointer (in the second program code) that indicate the variables. The second program code is outputted to the multi-core processor.