发明名称 SOFTWARE DEVELOPMENT ENVIRONMENT AND METHOD OF COMPILING INTEGRATED SOURCE CODE
摘要 A software development environment (SDE) and a method of compiling integrated source code. One embodiment of the SDE includes: (1) a parser configured to partition an integrated source code into a host code partition and a device code partition, the host code partition including a reference to a device variable, (2) a translator configured to: (2a) embed device machine code, compiled based on the device code partition, into a modified host code, (2b) define a pointer in the modified host code configured to be initialized, upon execution of the integrated source code, to a memory address allocated to the device variable, and (2c) replace the reference with a dereference to the pointer, and (3) a host compiler configured to employ a host library to compile the modified host code.
申请公布号 US2015143347(A1) 申请公布日期 2015.05.21
申请号 US201314085649 申请日期 2013.11.20
申请人 NVIDIA CORPORATION 发明人 Jones Stephen;Hairgrove Mark;Marathe Jaydeep;Kini Vivek;Aarts Bastiaan
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A software development environment (SDE), comprising: a parser configured to partition an integrated source code into a host code partition and a device code partition, said host code partition including a reference to a device variable; a translator configured to: embed device machine code, compiled based on said device code partition, into a modified host code,define a pointer in said modified host code configured to be initialized, upon execution of said integrated source code, to a memory address allocated to said device variable, andreplace said reference with a dereference to said pointer; and a host compiler configured to employ a host library to compile said modified host code.
地址 Santa Clara CA US