Commit Graph

46 Commits

Author SHA1 Message Date
Ammar ELWazir 1db8cdf99a Adding backward compatability
Adding roctracer_hcc.h for backward compatability to enable multiple components using it as tensorflow

Change-Id: Idfcdda9207277866e629e7bb9bfc0da835481217
2022-05-13 09:35:28 -05:00
Ammar ELWazir 6b16d37d65 Removing Backward compatability
removing the backward compatability file and making sure to use the right paths

Change-Id: I518d52c82e0c5878bd334713e7b1758bba79762d
2022-05-11 14:43:35 -04:00
Laurent Morichetti f8462b8637 Consolidate all sources of timestamps
System clock timestamps should only come from a single source:
util::timestamp_ns(). Externally, this function is exposed as
roctracer_get_timestamp() (used by the tracer tool).

Removed the now unused HSA Runtime Utilities which were never part
of the ROCtracer API.

Change-Id: I044b7f4da60fd8fdb771b0c877622a3143f0e815
2022-05-10 08:13:09 -07:00
Tony Tye 1f630a9291 Add doxygen to roctracer.h
Change-Id: Ie542399e990e02482ed740d99c6afe4b95b1f6f4
2022-04-30 00:33:05 +00:00
Laurent Morichetti d3b166cf01 Remove roctracer_hcc.h
roctracer_hip.h now contains the definitions for the HCC_OPS domain.

Change-Id: I132c993110254050aaa68828f3ca80f368ad24bc
2022-04-20 22:00:59 -07:00
Laurent Morichetti cd62d841fa Make roctracer_cb_table.h a private header
Move roctracer_cb_table.h to the src/core directory, as it should not
be exposed as a public header, and rename it callback_table.h

Change-Id: Ib448cbd32a275df0268d53bd8d1da0bdc9201470
2022-04-20 19:47:43 -07:00
Laurent Morichetti 06a3da7c63 Fix copyright headers
Change-Id: I380d867fa5fb04e68b5b332e9abf33fbeb1e9418
2022-04-19 09:30:45 -07:00
Ammar ELWazir 8098ec6acf SWDEV-296010: Fixing RPATH & CMAKE files
Removing the RPATH skip & Removing the install path that was defined CMakelist

Change-Id: Icf374b9548fc7b24e99a1b5ab9720ce6d775abf8
2022-03-09 19:16:08 -06:00
Ranjith Ramakrishnan bc19ae71eb File reorganization with backward compatibility
Package installed /opt/rocm
Soft links and wrapper header files installed /opt/rocm/roctracer for backward compatibility
tracer_tool library renamed to roctracer_tool and installed in /opt/rocm/lib/roctracer

Change-Id: Ica7518c5ef2e591715121cbc942b69dff29233d3
2022-03-04 04:03:51 -08:00
Kiumars Sabeti 554011e767 SWDEV-322312 [ASAN] [roctracer] RPM packages are generated while building roctracer for UBUNTU
To fix the issue we modified CMakeLists.txt as described in Sparry Icarus comment

Change-Id: Ie9ca16cfcfb7b7a9a858f0fb1f5071923c787313
2022-02-11 19:21:17 +00:00
Ammar ELWazir b721e3209e SWDEV-318551: Adding License file for tracer
Making the new License file, Adding support in the CMakeLists.txt

Change-Id: I43862b8b7f3025ae6200aeb442ea70c7993a7349
2022-01-26 13:39:31 -05:00
Christophe Paquot e5e1258ef8 SWDEV-295205 - Remove KFD domain from roctracer
Change-Id: I2771cf43aa115bb466531bf887f7cc75e187f2ef
2021-07-22 10:12:45 -07:00
Freddy Paul 1cc934204f roctracer:All libraries need to be installed with LIBRARY TAG
Cmake will do the post processing required for RPATH or any other
needed for the libraries only if installed as libraries not as
regular files

FIX: SWDEV-287893
Change-Id: I9cf478fcd23b9f2e8b3bdd81aa566cad3ec2a5e3
2021-05-26 12:15:25 -04:00
Freddy Paul 7bcac00f35 roctracer:update with case-sensitivity email
All packages should have a valid email for contact.

SWDEV-257322

Change-Id: I3a489bde4283545cba2ee377edc5a8b7adb75116
2021-05-03 11:47:42 -07:00
Freddy Paul 0cff9b7dc9 roctracer:Add maintainer email in package.
All packages should have a valid email for contact.

SWDEV-257322

Change-Id: I04b7d5ccc618b0a0907a75a92f50c9da64c3ff32
2021-04-30 11:35:59 -07:00
Cole Nelson 16d4a79562 CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: I1eeb778ac58a2c4b588244adc3112ecb1aa15217
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
2021-03-27 15:36:02 -07:00
Cole Nelson 16ad4e9de7 CMakeList.txt: conformant package names
Still needs valid email ID in the form of package_name.support@amd.com.
SWDEV-257322

Names complete as built (internal) :
roctracer-dev_1.0.0.40000-crdnnv.444_amd64.deb
roctracer-dev-1.0.0.40000-crdnnv.444.el7.x86_64.rpm

These changes are to satisfy:
http://confluence.amd.com/display/GPUCPT/Package+File+Naming

Change-Id: I5991326eb87d7dfa1304e3b2c5afb78f5a0c0361
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
2020-11-10 13:06:36 -05:00
Evgeny 1d975e5ba5 SWDEV-253997 : packaging fix: installing hsa_ostream_ops.h
Change-Id: Ib739cbb7538473afc9744e12d2bd568635e78616
2020-09-28 13:19:51 -04:00
Evgeny ed1f1b66ac build normalizing - generating under build directory
Change-Id: Id9203aec7800024bd749059a415fb29b8051005a
2020-09-07 15:24:58 -05:00
Evgeny a9048f33a8 roctracer static linking
Change-Id: I4df98c6d9991a3a58e2f646fc0c8fe8f104a105d
2020-08-05 02:26:40 -05:00
Rachida Kebichi bac4bae41c Added hsa ostream ops generation
Change-Id: Icc68e136d22b05b35d6adaff56e090272633d760
2020-07-29 10:41:32 -04:00
Evgeny 074306d997 SWDEV-236864 : packaging of generated headers
Change-Id: Ifda69eecf3697f6b69c978b3c4c2ffe9835edeb8
2020-05-18 18:08:06 -05:00
Evgeny 422dba832f inc/ext installation fix
Change-Id: If8f42cc5fe6bd46c6b341cdb6649bbe5013f97ad
2020-04-17 16:11:50 -05:00
Evgeny ef211a5adf packaging fix 2020-03-27 09:30:12 -05:00
Evgeny cb89ed3325 change cmake links to directories 2020-03-23 17:35:18 -05:00
eshcherb 3ed9b59b21 Merge pull request #28 from pruthvistony/master-rocm-2.10.1
roctracer changes to support multiple ROCm installation
2020-01-13 12:02:38 -06:00
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
Evgeny f4e3e457d9 removing private header roctracer_roctx.h from release package 2019-12-18 19:16:34 -06:00
Evgeny a0a993bf0d fix RPM packaging, setting rpm_post as RPM_POST_INSTALL 2019-11-25 16:18:52 -06:00
rkebichi 719e2a42c8 Update CMakeLists.txt 2019-11-12 17:14:23 -05:00
Evgeny 086a8f4aa6 update 2019-10-25 20:10:44 -05:00
Evgeny 8941ca3acd disable kfd wrapper installation 2019-10-25 19:21:24 -05:00
Xiaozhu Meng 017e792506 Install libkfdwrapper64.so 2019-10-18 14:24:00 -05:00
Evgeny 719e9221a5 roctracer extension APIs: mark, external id push/pop 2019-09-05 09:55:29 -05:00
Evgeny a530e509fe tool xml input 2019-01-17 22:39:53 -06:00
Evgeny 8ef8bf07da adding missed header 2019-01-15 08:35:57 -06:00
Evgeny 91af7764ad async token mechanism 2019-01-10 03:01:15 -06:00
Evgeny d75eb95472 HSA tracing domain with HIP MatrixTranspose sample test 2018-12-21 10:53:00 -06:00
Evgeny 9dd17cd351 dynamic runtime loading 2018-12-20 20:21:37 -06:00
Evgeny 8f4cece27e HSA API callbacks and hsa test 2018-11-28 12:36:11 -06:00
Evgeny 48d69df3ee packaging 2018-11-13 17:09:58 -06:00
Evgeny 44986fcbda cmake packaging fix 2018-11-11 00:53:10 -06:00
Evgeny 6b3719051f package generators deb/rpm/tgz 2018-11-10 21:33:34 -06:00
Evgeny c7f4758675 adding prof-protocol layer 2018-08-07 03:25:55 -05:00
Evgeny 5151f6ce04 betta version 2018-05-25 01:56:25 -05:00
Evgeny 0a934cff68 Initial commit 2018-05-10 13:19:10 -05:00