-
公开(公告)号:US11243904B2
公开(公告)日:2022-02-08
申请号:US16813336
申请日:2020-03-09
Applicant: ADVANCED MICRO DEVICES, INC.
Inventor: Robert A. Gottlieb , Christopher L. Reeve , Michael John Bedy
IPC: G06F15/80
Abstract: A method and apparatus for scheduling instructions of a shader program for a graphics processing unit (GPU) with a fixed number of registers. The method and apparatus include computing, via a processing unit (PU), a liveness-based register usage across all basic blocks in the shader program, computing, via the PU, the range of numbers of waves of a plurality of registers for the shader program, assessing the impact of available post-register allocation optimizations, computing, via the PU, the scoring data based on number of waves of the plurality of registers, and computing, via the PU, the number of waves for execution for the plurality of registers.
-
公开(公告)号:US20210096864A1
公开(公告)日:2021-04-01
申请号:US16584775
申请日:2019-09-26
Applicant: Advanced Micro Devices, Inc.
Inventor: Michael John Bedy
IPC: G06F9/30
Abstract: Described herein are techniques for saving registers in the event of a function call. The techniques include modifying a program including a block of code designated as a calling code that calls a function. The modifying includes modifying the calling code to set a register usage mask indicating which registers are in use at the time of the function call. The modifying also includes modifying the function to combine the information of the register usage mask with information indicating registers used by the function to generate registers to be saved and save the registers to be saved.
-
13.
公开(公告)号:US20200278947A1
公开(公告)日:2020-09-03
申请号:US16813336
申请日:2020-03-09
Applicant: ADVANCED MICRO DEVICES, INC.
Inventor: Robert A. Gottlieb , Christopher L. Reeve , Michael John Bedy
IPC: G06F15/80
Abstract: A method and apparatus for scheduling instructions of a shader program for a graphics processing unit (GPU) with a fixed number of registers. The method and apparatus include computing, via a processing unit (PU), a liveness-based register usage across all basic blocks in the shader program, computing, via the PU, the range of numbers of waves of a plurality of registers for the shader program, assessing the impact of available post-register allocation optimizations, computing, via the PU, the scoring data based on number of waves of the plurality of registers, and computing, via the PU, the number of waves for execution for the plurality of registers.
-
公开(公告)号:US10198259B2
公开(公告)日:2019-02-05
申请号:US15191374
申请日:2016-06-23
Applicant: Advanced Micro Devices, Inc.
Inventor: Robert A. Gottlieb , Christopher L. Reeve , Michael John Bedy
Abstract: A method and apparatus for scheduling instructions of a shader program for a graphics processing unit (GPU) with a fixed number of registers. The method and apparatus include computing, via a processing unit (PU), a liveness-based register usage across all basic blocks in the shader program, computing, via the PU, the range of numbers of waves of a plurality of registers for the shader program, assessing the impact of available post-register allocation optimizations, computing, via the PU, the scoring data based on number of waves of the plurality of registers, and computing, via the PU, the number of waves for execution for the plurality of registers.
-
-
-