发明名称 ACCESSING GLOBAL DATA FROM ACCELERATOR DEVICES
摘要 An aspect includes a table of contents (TOC) that was generated by a compiler being received at an accelerator device. The TOC includes an address of global data in a host memory space. The global data is copied from the address in the host memory space to an address in the device memory space. The address in the host memory space is obtained from the received TOC. The received TOC is updated to indicate that global data is stored at the address in the device memory space. A kernel that accesses the global data from the address in the device memory space is executed. The address in the device memory space is obtained based on contents of the updated TOC. When the executing is completed, the global data from the address in the device memory space is copied to the address in the host memory space.
申请公布号 US2016283144(A1) 申请公布日期 2016.09.29
申请号 US201514745486 申请日期 2015.06.22
申请人 International Business Machines Corporation 发明人 Bertolli Carlo;O'Brien John K.;Sallenave Olivier H.;Sura Zehra N.
分类号 G06F3/06 主分类号 G06F3/06
代理机构 代理人
主权项 1. A method for accessing global data from an accelerator device, the method comprising: receiving, at an accelerator device, a table of contents (TOC) generated by a compiler, the TOC including an address of global data in a host memory space; copying the global data from the address in the host memory space to an address in the device memory space, the address in the host memory space obtained from the received TOC; updating the received TOC to indicate that that global data is stored at the address in the device memory space; executing a kernel that accesses the global data from the address in the device memory space, the address in the device memory space obtained based on contents of the updated TOC; and based on the executing of the kernel completing, copying the global data from the address in the device memory space to the address in the host memory space.
地址 Armonk NY US