[ROCm/roctracer commit: 53e06a0595]
Этот коммит содержится в:
eshcherb
2019-04-25 14:15:03 -05:00
коммит произвёл GitHub
родитель 468809db05
Коммит 308c0caaa3
+3 -14
Просмотреть файл
@@ -21,7 +21,7 @@ asyncronous activity records pool support.
## Documentation
```
- API description: inc/roctracer.h
- Code example: test/MatrixTranspose/MatrixTranspose.cpp
- Code example: test/MatrixTranspose_test/MatrixTranspose.cpp
```
## To build and run test
@@ -30,23 +30,12 @@ asyncronous activity records pool support.
- CLone development branches of roctracer and HIP/HCC:
git clone -b amd-master https://github.com/ROCmSoftwarePlatform/roctracer.git
git clone -b master https://github.com/ROCm-Developer-Tools/HIP.git
git clone --recursive -b clang_tot_upgrade https://github.com/RadeonOpenCompute/hcc.git
- Set environment:
export HIP_PATH=<your path>/HIP
export HCC_HOME=<your path>/hcc/build
export HIP_PATH=/opt/rocm/HIP
export HCC_HOME=/opt/rocm/hcc/build
export CMAKE_PREFIX_PATH=/opt/rocm
- Build HCC:
cd <your path>/hcc && mkdir build && cd build &&
cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=<your path>/roctracer/inc/ext .. && make -j <nproc>
- Build HIP:
cd <your path>/HIP && mkdir build && cd build &&
cmake -DUSE_PROF_API=1 -DPROF_API_HEADER_PATH=<your path>/roctracer/inc/ext .. && make -j <nproc>
ln -s <your path>/HIP/build <your path>/HIP/lib
- Build ROCtracer
cd <your path>/roctracer && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm .. && make -j <nproc>