- 专利标题: Methods and apparatus to insert profiling instructions into a graphics processing unit kernel
-
申请号: US15998681申请日: 2018-08-15
-
公开(公告)号: US10705846B2公开(公告)日: 2020-07-07
- 发明人: Konstantin Levit-Gurevich , Orr Goldman
- 申请人: Intel Corporation
- 申请人地址: US CA Santa Clara
- 专利权人: Intel Corporation
- 当前专利权人: Intel Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Hanley, Flight & Zimmerman, LLC
- 主分类号: G06F11/34
- IPC分类号: G06F11/34 ; G06T1/20 ; G06F11/36 ; G06F9/32
摘要:
Embodiments are disclosed for inserting profiling instructions into graphics processing unit (GPU) kernels. An example apparatus includes an entry point detector to detect a first entry point address and a second entry point address of an original GPU kernel. An instruction inserter is to create a corresponding instrumented GPU kernel from the original GPU kernel by adding instructions of the original GPU kernel and one or more profiling instructions to the instrumented GPU kernel. The instruction inserter is to insert, at the first entry point address of the instrumented GPU kernel, a first jump instruction to jump to first profiling initialization instructions, the instruction inserter to insert, at the second entry point address of the instrumented GPU kernel, a second jump instruction to jump to second profiling initialization instructions. The instruction inserter is to insert profiling measurement instructions of the profiling instructions into the instrumented GPU kernel.
公开/授权文献
信息查询