-
Notifications
You must be signed in to change notification settings - Fork 153
Description
Is your feature request related to a problem? Please describe.
nvidia has shipped defective RTX 50xx cards that are missing ROPs. The only tools that are able to display the count (e.g. GPU-Z) are under Windows. Displayin the ROP count under Linux would be useful.
Describe the solution you'd like
Solution can be found on nvidia Linux forums: https://forums.developer.nvidia.com/t/check-the-rop-unit-count-under-linux-affects-all-rtx-50xx-cards/324769/58 The proposed code makes use of the function API available in the open.source gpu code: https://github.com/NVIDIA/open-gpu-kernel-modules/blob/25bef4626e6c5ccf5b433e1c22b6b1bd59e6f1bd/src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h#L942-L963
There are other functions returnng GPU statitics that could be of interest. Thank you.