发明名称 AUTO MULTI-THREADING IN MACROSCALAR COMPILERS
摘要 System and methods for the parallelization of software applications are described. In some embodiments, a compiler may automatically identify within source code dependencies of a function called by another function. A persistent database may be generated to store identified dependencies. When calls the function are encountered within the source code, the persistent database may be checked, and a parallelized implementation of the function may be employed dependent upon the dependency indicated in the persistent database.
申请公布号 US2015058832(A1) 申请公布日期 2015.02.26
申请号 US201414532846 申请日期 2014.11.04
申请人 Apple Inc. 发明人 Gonion Jeffry E.
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A system, comprising: one or more memories that, during operation, store instructions; and one or more processors that, during operation, retrieve instructions for the one or more memories and execute the instructions to cause the system to perform operations comprising: identifying, within the source code of a called function, a dependency of the called function on a variable that is not defined by the called function's programming interface as a parameter of the called function;generating a persistent dependency database associated with the called function, wherein the persistent dependency database stores an indication of the dependency;identifying a call to the called function within source code of a calling function;in response to identifying the call, accessing the persistent dependency database; andcompiling the calling function to utilize a parallel implementation of the called function responsive to detecting the indication of dependency stored in the persistent dependency database.
地址 Cupertino CA US