Methods and apparatus to insert profiling instructions into a graphics processing unit kernel
AssigneeIntel Corporation
InventorsKonstantin Levit-Gurevich, Orr Goldman
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsKonstantin Levit-Gurevich, Orr Goldman
Estimating the term…
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.
An apparatus to create instrumented graphics processing unit (GPU) kernels, the apparatus comprising:
At least one non-transitory computer-readable storage medium comprising instructions that, when executed, cause at least one processor to at least:
An apparatus to insert profiling instructions into graphics processing unit (GPU) kernels, the apparatus comprising:
Dependencies are inferred from the claim text.