2 Replies Latest reply on Jan 14, 2019 12:23 AM by natarajansubramanian

    Query on fetching informations for AMD GPU cards in Linux OS




      We wanted to know is there any Utilities available to fetch the following properties of a AMD GPU card in Linux OS ?


      1) Serial Number

      2) Maximum Clock Speed of a AMD card

      3) Total number of cores allocated for a AMD GPU card


      We have tried the following methods but could not be successful in fetching the informations:


      1) command line utility :  /opt/rocm/opencl/bin/x86_64/clinfo


          Although this gives some information, there is no matching informations between clinfo output and sysfs values.

          Also the "Device Topology" value in clinfo does not contain the Domain value of PCI information. It contains only B,D and F values


      2) command line utility :  /opt/rocm/bin/rocm-smi


      3) Using sysfs attributes ( Ex: /sys/bus/pci/drivers/amdgpu/"PCI LOCATION"/...... )