发明名称 DISPATCHING FUNCTION CALLS ACROSS ACCELERATOR DEVICES
摘要 In one embodiment, a computer-implemented method for dispatching a function call includes receiving, at a supervisor processing element (PE) and from an origin PE, an identifier of a target device, a stack frame of the origin PE, and an address of a function called from the origin PE. The supervisor PE allocates a target PE of the target device. The supervisor PE copies the stack frame of the origin PE to a new stack frame on a call stack of the target PE. The supervisor PE instructs the target PE to execute the function. The supervisor PE receives a notification that execution of the function is complete. The supervisor PE copies the stack frame of the target PE to the stack frame of the origin PE. The supervisor PE releases the target PE of the target device. The supervisor PE instructs the origin PE to resume execution of the program.
申请公布号 US2016283264(A1) 申请公布日期 2016.09.29
申请号 US201514744048 申请日期 2015.06.19
申请人 International Business Machines Corporation 发明人 Jacob Arpith C.;Sallenave Olivier H.
分类号 G06F9/48;G06F9/54 主分类号 G06F9/48
代理机构 代理人
主权项 1. A computer-implemented method for dispatching a function call, the method comprising: receiving, at a supervisor processing element (PE) and from an origin PE, an identifier of a target device, a stack frame of the origin PE, and an address of a function called from the origin PE; allocating, by the supervisor PE, a target PE of the target device; copying, by the supervisor PE, the stack frame of the origin PE to a new stack frame on a call stack of the target PE; instructing, by the supervisor PE, the target PE to execute the function at the address; receiving, by the supervisor PE, notification from the target PE that execution of the function is complete; copying, by the supervisor PE, the new stack frame on the call stack of the target PE to the stack frame of the origin PE; releasing, by the supervisor PE, the target PE of the target device; and instructing, by the supervisor PE, the origin PE to resume execution of the program.
地址 Armonk NY US