8b018900f64c96d8e01340b1608d98a9b571276a
This is a python port of rocm_agent_enumerator, which is used by HIP/HCC to determine available AMDGPU targets on a system. Its previous implementation was written in C++ which makes it somewhat hard to deploy onto different distros / architectures. A python port should remove such issue.
rocminfo
ROCm Application for Reporting System Info
To Build
Use the standard cmake build procedure to build rocminfo. The location of ROCM root (parent directory containing ROCM headers and libraries) must be provided as a cmake argument. For example, building from the CMakeLists.txt directory might look like this:
mkdir -p build
cd build
cmake -DROCM_DIR= ..
make
cd ..
Upon a successful build the binary, rocminfo, will be in the build folder.
توضیحات
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
دیگر
1.1%