METHODS AND APPARATUS TO EMULATE GRAPHICS PROCESSING UNIT INSTRUCTIONS

    公开(公告)号:US20200279348A1

    公开(公告)日:2020-09-03

    申请号:US16783878

    申请日:2020-02-06

    Abstract: Embodiments are disclosed for emulation of graphics processing unit instructions. An example apparatus includes a kernel accessor to access an instruction of an original GPU kernel, the original GPU kernel intended to be executed at a first GPU. An instruction support determiner is to determine whether execution of the instruction is supported by a second GPU different from the first GPU. An instruction modifier is to, in response to determining that the execution of the instruction is not supported by the second GPU, create an instrumented GPU kernel based on the original GPU kernel. The instrumented GPU kernel includes an emulation sequence. The emulation sequence is to, when executed by the second GPU, cause the second GPU to emulate execution of the instruction by the first GPU.

    TECHNIQUES FOR GRAPHICS PROCESSING UNIT PROFILING USING BINARY INSTRUMENTATION

    公开(公告)号:US20190213706A1

    公开(公告)日:2019-07-11

    申请号:US16235257

    申请日:2018-12-28

    CPC classification number: G06T1/20 G06F9/3877 G06F9/45525 G06F9/5055

    Abstract: Techniques and apparatus for profiling graphics processing unit (GPU) processes using binary instrumentation are described. In one embodiment, for example, an apparatus may include at least one memory comprising instructions and a processor coupled to the at least one memory. The processor may execute the instructions to implement a profiling process to profile a graphics processing unit (GPU) application being executed via a GPU, the profiling process to perform an instrumentation phase to determine an operating process being executed via the GPU and to generate instrumented binary code for the operating process, perform an execution phase to collect profiling data for a command of the operating process, and perform a completion phase for a profiling application executed via the processor to read the profiling data. Other embodiments are described.

    METHODS AND APPARATUS TO IMPROVE OPERATION OF A GRAPHICS PROCESSING UNIT

    公开(公告)号:US20190043158A1

    公开(公告)日:2019-02-07

    申请号:US16129525

    申请日:2018-09-12

    Abstract: Methods, apparatus, systems, and articles of manufacture are disclosed to improve operation of a graphics processing unit (GPU). An example apparatus includes an instruction generator to insert profiling instructions into a GPU kernel to generate an instrumented GPU kernel, the instrumented GPU kernel is to be executed by a GPU, a trace analyzer to generate an occupancy map associated with the GPU executing the instrumented GPU kernel, a parameter calculator to determine one or more operating parameters of the GPU based on the occupancy map, and a processor optimizer to invoke a GPU driver to adjust a workload of the GPU based on the one or more operating parameters.

Patent Agency Ranking