ROCm / amdsmi

AMD SMI
https://rocm.docs.amd.com/projects/amdsmi/en/latest
MIT License
39 stars 23 forks source link

[Issue]: There are not api to get compute units and FP32 or FP64 units in amdsmi #39

Open lizhenneng opened 3 months ago

lizhenneng commented 3 months ago

Problem Description

I need a api to get compute units and FP32 and FP64 units in amdsmi, I need this api to get compute performance, like nvidia's nvmlDeviceGetNumGpuCores to get sm cores in nvml library.

Operating System

Ubuntu 22.04.3 LTS

CPU

Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz

GPU

AMD Radeon RX 7900 XTX

ROCm Version

ROCm 6.0.0

ROCm Component

amdsmi

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response