Files
rocm-systems/README.md
T

26 lines
644 B
Markdown
Raw Normal View History

2017-11-08 08:05:08 -06:00
# 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
2018-03-05 14:40:52 -06:00
as a cmake argument using the standard CMAKE_PREFIX_PATH cmake variable. Building
the package also requires the rocm-cmake helper files.
For example, building from the CMakeLists.txt directory
2017-11-08 08:05:08 -06:00
might look like this:
mkdir -p build
2018-03-05 14:48:01 -06:00
cd build
2017-11-08 08:05:08 -06:00
2018-03-05 14:40:52 -06:00
cmake -DCMAKE_PREFIX_PATH=/opt/rocm ..
2017-11-08 08:05:08 -06:00
make
cd ..
2018-03-05 14:40:52 -06:00
Upon a successful build the binary, rocminfo, and the python script, rocm_agent_enumerator, will be in the build folder.
2017-11-08 08:05:08 -06:00