From b15f765d17988efbeb6ed8ab1b7f962f1c6ffe72 Mon Sep 17 00:00:00 2001 From: eshcherb <33529668+eshcherb@users.noreply.github.com> Date: Tue, 13 Nov 2018 18:51:56 -0600 Subject: [PATCH] Update README.md [ROCm/roctracer commit: 036f7d48a1e10066489c701b2700c6beecba8f21] --- projects/roctracer/README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/projects/roctracer/README.md b/projects/roctracer/README.md index 177c72d273..d271882cec 100644 --- a/projects/roctracer/README.md +++ b/projects/roctracer/README.md @@ -28,8 +28,8 @@ The library source tree: - CLone roctracer and custom branches of HIP/HCC: git clone -b amd-master https://github.com/ROCmSoftwarePlatform/roctracer.git - git clone -b roctracer-hip-frontend-180826 https://github.com/eshcherb/HIP.git - git clone --recursive -b roctracer-hip-frontend-180823 https://github.com/eshcherb/hcc.git + git clone -b roctracer-hip-frontend-181113 https://github.com/eshcherb/HIP.git + git clone --recursive -b roctracer-hip-frontend-181113 https://github.com/eshcherb/hcc.git - Set environment: export HIP_PATH=/HIP @@ -38,12 +38,12 @@ The library source tree: - Build HCC: cd /hcc && mkdir build && cd build - cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=/roctracer/inc/roctracer .. + cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=/roctracer/inc/ext .. make -j - Build HIP: cd /HIP && mkdir build && cd build - cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=/roctracer/inc/roctracer .. + cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=/roctracer/inc/ext .. make -j ln -s HIP/build HIP/lib @@ -51,12 +51,11 @@ The library source tree: cd /roctracer && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm .. && make -j - To run test - make mytest - - or - cd /roctracer/test/MatrixTranspose - make + make mytest + + - To install + make install - set test iterations number, 100 by default - export ITERATIONS= + or + make package && dpkg -i *.deb ```