ec9e027988
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.
[ROCm/rocminfo commit: 8b018900f6]
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.