Commit Graph

50 Commitit

Tekijä SHA1 Viesti Päivämäärä
Ammar ELWazir 5a7dec797e SWDEV-403050: Multiple fixes for Memory Leaks in profiler
Change-Id: Ib720a81105af13898ff745ce0cbc2a48c1f4a980


[ROCm/rocprofiler commit: 08fc21ac31]
2023-05-30 21:41:54 -05:00
Ammar ELWazir 7647f6988f V1/V2 API Library Separation
V1 library will be supported as librocprofiler64.so and V2 will be supported as librocprofiler64v2.so and headers will be rocprofiler.h for V1 and v2/rocprofiler.h for v2

Change-Id: Ibe5bdbf2f79f0175342c648e917ae77918186604


[ROCm/rocprofiler commit: 9e62e066fe]
2023-05-02 22:44:43 -04:00
Sriraksha Nagaraj 9b5ec5368d SWDEV-382125: Adding a description when counter is not supported on a hardware
Change-Id: Ic835f59029aa1a95d32b80bf79375978e8ea9635


[ROCm/rocprofiler commit: 1d0703b21e]
2023-03-09 13:20:37 +00:00
Ranjith Ramakrishnan a5a941cbfc SWDEV-345870 - Correct include paths for new directory layout
Use hsa header files from /opt/rocm-ver/include rather than using wrapper files from /opt/rocm-ver/hsa/include/hsa

Change-Id: Id7a9bde19447cd2a0fd6e03b11c08471f09c2a46


[ROCm/rocprofiler commit: e7eb195924]
2022-07-14 16:08:41 -07:00
Chun Yang 62a76c8ebb SWDEV-296922 : Incorrect rounding due to integer division in rocprofiler metrics
Changed derived metrics to double from int64.
Fixed standalone test due to int64 to float change
Fixed intercept test due to int64 to float change.

Change-Id: I49631c187406ae9dd94a869b3bb13772012e8cdf


[ROCm/rocprofiler commit: f9017cbdc5]
2021-09-23 14:52:35 -07:00
Evgeny 867ae7b2dd concurrent: enable PmcStopper to end perf counting.
Change-Id: I89785277678141e29349e162df10203787050643


[ROCm/rocprofiler commit: c4828a9de0]
2021-04-09 08:06:42 +00:00
Evgeny 0282e30855 SWDEV-274821 SPM initialization fix
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd


[ROCm/rocprofiler commit: e2c9d13e5b]
2021-03-22 09:18:36 +00:00
Xianwei Zhang bc27ae1adf concurrent: improve concurrent profiling
This patch adds barrier packets, together with extra signals,
to enforce the completion order of read packets w.r.t dispatch.
And, PmcStopper is added to stop the profiling finally.

Change-Id: I8e8d3a41d86e42be1d9e5afd44c247be876cf1a5


[ROCm/rocprofiler commit: e26210d9d9]
2020-08-05 18:20:14 -04:00
Evgeny a331990ee4 optimization mechanism fix: correct tracker handler; kernel name query on completion;
Change-Id: I14da152b4ac3c7d8fd1af2f54e9d71f834071622


[ROCm/rocprofiler commit: 80747de208]
2020-08-03 23:34:49 -05:00
Xianwei Zhang f95b383dfa pmc: add support of concurrent kernel profiling
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21


[ROCm/rocprofiler commit: 61c9df4631]
2020-07-16 14:39:46 -05:00
Evgeny 3d44ea1a05 counters dumping optimization
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861


[ROCm/rocprofiler commit: 2a7f77b290]
2020-07-15 09:57:41 -05:00
Evgeny 3402d6bba1 clang10 proting
Change-Id: I071833f9d1f46df105f7ef1749c5d17d989bbb05


[ROCm/rocprofiler commit: 04aea8c3df]
2020-05-12 18:26:47 -05:00
Evgeny 67e1502ce5 PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3

pc sampling integration fix

Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe


[ROCm/rocprofiler commit: 9df9fddcfb]
2020-03-28 13:07:45 -05:00
Evgeny 2c091d01d0 adding SPM test
Change-Id: I55dde52e668206e238ea860dd11e0ed5501a582a


[ROCm/rocprofiler commit: 988283533f]
2019-06-04 15:34:21 -05:00
Evgeny 1fecf4774c adding SPM trace support
Change-Id: I07c0d3ec5c4ec51ea00fea539c930c6ed27b1163


[ROCm/rocprofiler commit: 6d6eb2b2d0]
2019-06-04 05:07:19 -05:00
Evgeny 878e8e20b1 adding context pool
Change-Id: Id8c6ee43ac6c86480848a5d3e759c42730cf388a


[ROCm/rocprofiler commit: 632309a626]
2019-03-03 01:18:42 -06:00
Evgeny 8feba010df metrics exceptions handling
Change-Id: I9b050f78b1ef333853649d5457c80544944ea7f6


[ROCm/rocprofiler commit: c6a20178dc]
2019-02-25 03:58:14 -06:00
Evgeny 7ffa654a53 enabling timestamping only
Change-Id: Ic2a26d782bf8889afc89c6497c76fd241df8d221


[ROCm/rocprofiler commit: 8c423d9a31]
2018-08-24 21:07:45 -05:00
Evgeny 5af5a02478 licensing annotation
Change-Id: Icdd79e25e7ba30e777f1024697f87d583f380a62


[ROCm/rocprofiler commit: f6f857f6f4]
2018-08-19 04:18:55 -05:00
Evgeny 1027ae42f5 adding tracker handler
Change-Id: Iea47c25b3c9b6e1eadf097c34323727181975cca


[ROCm/rocprofiler commit: 4d790c8eee]
2018-07-25 14:55:21 -05:00
Evgeny a60e624c7e metrics list auto groups on the limit exceed error
Change-Id: I851d8fb6779fd39098ccbfb0a95ec1fd183ab89f


[ROCm/rocprofiler commit: 4529d33db3]
2018-07-02 09:50:25 -05:00
Evgeny 368f9f2b5d license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6


[ROCm/rocprofiler commit: add56e26ae]
2018-06-25 19:52:28 -05:00
Evgeny 1adb0c19d1 cleanup
Change-Id: If8be00403338f4b68365b2829a2ad59f200af4cc


[ROCm/rocprofiler commit: 3ad7e7aae7]
2018-06-25 17:05:23 -05:00
Evgeny 32b472e246 documentation and cleanup, public metrics only
Change-Id: I8213d193ce2ba632adf133e630fd91baf9e81ddd


[ROCm/rocprofiler commit: ca5c0e8928]
2018-06-22 10:16:13 -05:00
Evgeny 42458339af SQTT local allocation
Change-Id: Ie4a150ad0dc141226f6f1c571916c5a526dd723c


[ROCm/rocprofiler commit: 9dec361cd4]
2018-04-29 03:24:46 -05:00
Evgeny e761eda5fa memory allocation refactoring
Change-Id: Ic63b4f5ea44f2dc5e009e3e58652a661e957b7d6


[ROCm/rocprofiler commit: c9c0ecc976]
2018-04-27 20:00:20 -05:00
Evgeny 0a8e945d88 HSA memory alloc/copy/free refactoring
[ROCm/rocprofiler commit: d04f7095f4]
2018-04-20 11:15:26 -05:00
Evgeny d4817a45b1 rc file options: 'basenames', 'timestamp', 'ctx-limit', 'heartbeat', 'sqtt-size'
[ROCm/rocprofiler commit: 62531b88ed]
2018-04-11 13:26:58 -05:00
Evgeny f1a5ba7386 SQTT memory checks
[ROCm/rocprofiler commit: ee5bc95019]
2018-04-04 12:14:29 -05:00
Evgeny 3de4327541 sqtt size setting, ctx limit, heartbeat
Change-Id: I98de62e950b9201d03a9ca82cee9e2bbc2666e63


[ROCm/rocprofiler commit: ef761725b4]
2018-03-23 03:19:05 -05:00
Evgeny ade8a8c868 context array valid bit reverted
Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a


[ROCm/rocprofiler commit: aea5d8e0d9]
2018-03-21 21:11:42 -05:00
Evgeny 6e4240aef7 dispatch vs profiling packets signals race fixed
Change-Id: I7f250d01f3d45f3f8ec2539b2187ab99503850aa


[ROCm/rocprofiler commit: caa15d7186]
2018-03-16 10:34:44 -05:00
Evgeny 777eb116d4 adding timestamps dispatch/begin/end/complete
Change-Id: I8c23e5f7ff75174243224ff008ba266553ee30c8


[ROCm/rocprofiler commit: 363700581a]
2018-03-05 20:59:01 -06:00
Evgeny c1b3fa7d52 profiling controll options
[ROCm/rocprofiler commit: 1c8f767da4]
2018-02-27 13:32:11 -06:00
Evgeny ff5b92b47b adding queue destroy callback
[ROCm/rocprofiler commit: 33b3546fe4]
2018-02-21 19:59:47 -06:00
Evgeny 6eef0003a5 contrctor/destructor changes, OnLoad/OnUnload functions, removed hsa_init()/hsa_shutdown()
[ROCm/rocprofiler commit: a9a5119399]
2018-02-21 10:07:59 -06:00
Evgeny ef397b7d07 metrics and counter importing
[ROCm/rocprofiler commit: fbc7de50f7]
2018-02-12 15:00:20 -06:00
Evgeny 6960dcd77e adding major and minor library versions
[ROCm/rocprofiler commit: 6560364df1]
2018-02-07 09:41:17 -06:00
Evgeny 4b7e5f51da read API
[ROCm/rocprofiler commit: ff1e5b67a7]
2018-02-02 15:38:28 -06:00
Evgeny fa134bbf4d minor change, const ptr
[ROCm/rocprofiler commit: a3fc58e966]
2018-02-02 15:14:15 -06:00
Evgeny 80d462a8c2 resources releasing; metrics
[ROCm/rocprofiler commit: 79510b8c6c]
2018-02-01 14:52:21 -06:00
Evgeny 14e45e9cb4 fixing SQTT copy mode result buffer allocation
[ROCm/rocprofiler commit: 58e879343f]
2018-01-23 18:57:45 -06:00
Evgeny c165aa7e6a initializing results on get-data; kernel name in sqtt output file name;
[ROCm/rocprofiler commit: 77cec10648]
2017-12-22 10:22:47 -06:00
Evgeny e1f9046f5c context handler fix
[ROCm/rocprofiler commit: 84644dc732]
2017-12-13 20:29:23 -06:00
Evgeny 8b5a6b7fed coding style formatting
[ROCm/rocprofiler commit: cb3a591826]
2017-11-29 13:53:12 -06:00
Evgeny 9824189d37 API update, rev 1.2.3
[ROCm/rocprofiler commit: ac529c96e1]
2017-11-27 16:51:03 -06:00
Evgeny 517c18325b adding completion handler
[ROCm/rocprofiler commit: 68a89bf87d]
2017-11-15 20:59:24 -06:00
Evgeny 95cbbc6b3a adding GFX9 counters
[ROCm/rocprofiler commit: 8b8970334e]
2017-11-12 13:11:27 -06:00
Evgeny 8c2326acf5 adding metrics dictionary factoring by Create
[ROCm/rocprofiler commit: f7f24de043]
2017-11-10 09:55:57 -06:00
Evgeny 5fea997bc9 ROC profiler prototype sources importing
[ROCm/rocprofiler commit: 85278f08a0]
2017-11-09 17:26:19 -06:00