cancel
Showing results for 
Search instead for 
Did you mean: 

GPU Developer Tools

Journeyman III
Journeyman III

Query on fetching informations for AMD GPU cards in Linux OS

Hi,

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"/...... )

clinfo

0 Kudos
Reply
2 Replies
Staff
Staff

Re: Query on fetching informations for AMD GPU cards in Linux OS

Hi,

You have been whitelisted now.

Below ADL SDK provides API support to access useful information related to AMD gpus/adapters associated with the system. Please try this SDK if it helps.

GitHub - GPUOpen-LibrariesAndSDKs/display-library: AMD Display Library SDK

Thanks.

0 Kudos
Reply
Journeyman III
Journeyman III

Re: Query on fetching informations for AMD GPU cards in Linux OS

Hi,

Thanks for your reply. Looking into it.

Regards,

Natarajan

0 Kudos
Reply