Invention Grant
- Patent Title: Apparatus and method and computer program product for compiling code adapted for secondary offloads in graphics processing unit
-
Application No.: US17367044Application Date: 2021-07-02
-
Publication No.: US11748077B2Publication Date: 2023-09-05
- Inventor: HaiChuan Wang , Song Zhao , GuoFang Jiao , ChengPing Luo , Zhou Hong
- Applicant: Shanghai Biren Technology Co., Ltd
- Applicant Address: CN Shanghai
- Assignee: SHANGHAI BIREN TECHNOLOGY CO., LTD
- Current Assignee: SHANGHAI BIREN TECHNOLOGY CO., LTD
- Current Assignee Address: CN Shanghai
- Agency: Birch, Stewart, Kolasch & Birch, LLP
- Priority: CN 2011140485.6 2020.10.22
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06T1/60 ; G06T15/00

Abstract:
The invention relates to a method for compiling code adapted for secondary offloads in a graphics processing unit (GPU). The method, performed by a processing unit, includes: reconstructing execution codes in a first kernel into a second kernel. The second kernel includes an operation table including entries, and computation codes. The computation codes include a portion of the execution codes, and synchronization hooks, and each synchronization hook includes information indicating one entry of the operation table. An order of the portion of the execution codes and the synchronization hooks in the computation codes matches an order of the execution codes in the first kernel, thereby enabling a compute unit (CU) in the GPU to execute the computation codes, and an engine in the GPU to instruct a component inside or outside of the GPU to complete a designated operation in accordance with content of each entry in the operation table.
Public/Granted literature
Information query