Pruthvi Madugundu 5bfb079aff roctracer changes to support multiple ROCM installation
- Package is generated to install into ROCM_PATH by setting
  to CMAKE_INSTALL_PREFIX, if defined in the env otherwise
  default into /opt/rocm
- Lib SO version is added dependent on build version
- RUNPATH is set to a default value based on /opt/rocm and if
  ROCM_RPATH env is defined it is overwritten.
- Symlinks are created for library so files.
- ld.so.conf entry is done only if /opt/rocm/roctracer dir exists

Signed-off-by: Pruthvi Madugundu <mpruthvi@gmail.com>
2020-01-09 17:04:42 -08:00
2019-01-31 00:56:11 -06:00
2019-10-25 20:10:44 -05:00
2019-10-21 23:03:20 -05:00
2019-10-25 20:10:44 -05:00
2019-10-25 17:46:34 -05:00
2018-05-10 13:19:10 -05:00
2019-07-24 15:18:51 -05:00
2018-08-08 15:47:30 -05:00
2019-09-04 12:04:27 -05:00

ROC-tracer

ROC-tracer library, Runtimes Generic Callback/Activity APIs.
The goal of the implementation is to provide a generic independent from
specific runtime profiler to trace API and asyncronous activity.

The API provides functionality for registering the runtimes API callbacks and
asyncronous activity records pool support.

The library source tree

 - inc/roctracer.h - Library public API
 - src  - Library sources
   - core - Library API sources
   - util - Library utils sources
 - test - test suit
   - MatrixTranspose - test based on HIP MatrixTranspose sample

Documentation

 - API description: inc/roctracer.h
 - Code example: test/MatrixTranspose_test/MatrixTranspose.cpp

To build and run test

 - ROCm-2.3 or higher is required

  cd <your path>

 - CLone development branch of roctracer:
  git clone -b amd-master https://github.com/ROCm-Developer-Tools/roctracer

 - Set environment:
  export HIP_PATH=/opt/rocm/hip
  export HCC_HOME=/opt/rocm/hcc
  export CMAKE_PREFIX_PATH=/opt/rocm

 - Build ROCtracer
  export CMAKE_BUILD_TYPE=<debug|release> # release by default
  cd <your path>/roctracer && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm .. && make -j <nproc>

 - To build and run test
  make mytest
  run.sh
  
 - To install
  make install
 or
  make package && dpkg -i *.deb
S
توضیحات
No description provided
Readme 282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
دیگر 1.1%