Craig Andrews 04dc08664e Use CACHE variables, allow overriding ROCR_LIB_DIR/ROCR_INC_DIR
CACHE variables allow for variables to be documented, and
ROCR_LIB_DIR/ROCR_INC_DIR should be overridable as they'll
have different values on different Linux distributions.

Change-Id: I0bba633c184df2da55bdbe6aabbd53346d098b83
2019-08-22 08:02:31 -05:00
2017-11-08 11:12:00 -06:00
2019-06-19 13:44:12 -05:00
2019-06-19 13:44:12 -05: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 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 might look like this:

mkdir -p build

cd build

cmake -DCMAKE_PREFIX_PATH=/opt/rocm ..

make

cd ..

Upon a successful build the binary, rocminfo, and the python script, rocm_agent_enumerator, will be in the build folder.

S
Cur síos
Níor tugadh tuairisc
Léigh-mé 282 MiB
Teangacha
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Eile 1.1%