GPUOpen-Tools / radeon_gpu_analyzer

The Radeon GPU Analyzer (RGA) is an offline compiler and code analysis tool for Vulkan, DirectX, OpenGL, and OpenCL.
MIT License
405 stars 53 forks source link

USER-DATA SGPR usage #68

Open martty opened 3 years ago

martty commented 3 years ago

https://gpuopen.com/wp-content/uploads/2016/03/VulkanFastPaths.pdf

This presentation talks about USER-DATA SGPRs, SGPRs that are preloaded before wave launch. The presentation also highlights that it is important to manage this, with spilling being costly.

Could (or does?) RGA feature a listing of how these SGPRs will be filled? I think it could be a handy indication.

AmitBM commented 3 years ago

Hi martty,

At the minimum, it should be possible for RGA to report whether or not there were USER-DATA SGPR spills. We will consider adding this as a feature in the future.