rachida
61efc819c3
SWDEV-291267 Script to merge mpi rocprof traces
...
Change-Id: I3d86276666efb067ccb62730e74a67e0cc7c4d42
[ROCm/rocprofiler commit: b54bfac5bf ]
2021-06-25 15:12:35 -04:00
Rachida Kebichi
bd65e66dc8
Merge "SWDEV-282961 Skip barrier events. Process hipMemSet events" into amd-staging
...
[ROCm/rocprofiler commit: afad08b4c5 ]
2021-06-16 10:27:39 -04:00
rachida
e1f148e260
SWDEV-282961 Skip barrier events. Process hipMemSet events
...
Marker events inside hcc_ops_trace.txt are from barriers so they are not meant to be stored in ops_patch_data map.
Added support for hipMemset events which are a kind of memory copy.
Change-Id: I213fe959bcd35ff0371613ba5bffd95bc53e06b5
[ROCm/rocprofiler commit: caa5f32300 ]
2021-06-10 16:33:39 -04:00
rachida
f2649f4049
SWDEV-284863 Removed accidental override of recordid
...
recordid cannot be just a counter. The code removed was doing
just that i.e. incrementing a counter. Recordid has to come
from recvals data structure. That code was left there since
a while when Evgeny and Rachida were trying to prototype this feature.
I am not sure why it was not spotted before.
Change-Id: Ia867066dcfca083fcd4111f2aefc2fec88c26314
[ROCm/rocprofiler commit: 4ba91a972c ]
2021-06-08 14:21:27 -04:00
Rachida Kebichi
950924438f
SWDEV-284863 Fixed several issues preventing memcpy info dump in csv
...
1st issue was that one of the ostream ops failed to print the
content of the struct.
2nd issue: get_ptr_type was called with args being src/dest
pointers while it should be the agents pointers for src/dest.
3rd issue: memcopies map used (recordid, procid, is_async)
as a key but this is not enough as some copies share same key,
so I added begin/end timestamps as a way to distinguish between them.
Change-Id: I7c6e80e74e30ea572f21612aaf0cf7efec6e91e6
[ROCm/rocprofiler commit: 761bd6a86b ]
2021-06-04 12:18:35 -04:00
Ashutosh Misra
a407995955
rocprofiler:using right rocm lib(s) path
...
Correcting thunklib preload with tested absolute path
SWDEV-285578
Change-Id: I8aa8205a6886d2101cf66016d307ff8a7c86257b
[ROCm/rocprofiler commit: f3c80f645a ]
2021-05-25 02:04:51 -04:00
Laurent Morichetti
cac74820c2
Use ${BASH_SOURCE[0]} to deduce the install dir
...
Change-Id: I96b81c4d01a88a1edee05a54a4982e4a93225847
[ROCm/rocprofiler commit: badd1270f6 ]
2021-05-20 16:36:57 -07:00
Rachida Kebichi
a01a4a26a7
Fixed issue with map key in dep_proc map
...
Change-Id: I5c2deeda2c2dedd9c800af60c0b4748279f8418e
[ROCm/rocprofiler commit: 7a5e408891 ]
2021-04-23 13:14:40 -04:00
Rachida Kebichi
b61f699020
Merge "SWDEV-263827 Visualize back-dep for wait" into amd-staging
...
[ROCm/rocprofiler commit: 7d99e03caf ]
2021-04-12 09:32:28 -04:00
Evgeny
c701f9705c
cleanup after separating for staging and npi branches
...
Change-Id: Iadd624df21b85f1590e901a8125680743e3281a3
[ROCm/rocprofiler commit: 780dfa37d4 ]
2021-04-08 20:37:47 +00:00
Evgeny
8c3ce30c94
SWDEV-265287 : integration spmltgen.py script
...
Change-Id: Ief3e93225fb6660e72a04e4bd4b379262b73c914
[ROCm/rocprofiler commit: 82d7bb2145 ]
2021-04-08 10:04:39 -04:00
Rachida Kebichi
0b1ad281f7
SWDEV-263827 Visualize back-dep for wait
...
Change-Id: Ic8a00c6ec583c5b90fcd0a1d19c5a51ce6303449
[ROCm/rocprofiler commit: a80f8e6e03 ]
2021-04-05 09:44:25 -04:00
Evgeny Shcherbakov
7dd5126ef1
Merge "obj-tracking default on" into amd-staging
...
[ROCm/rocprofiler commit: 4a31d93ec3 ]
2021-03-26 15:54:45 -04:00
Evgeny
0fe48f9982
obj-tracking default on
...
Change-Id: If919c1ee792e59bdb938608382e5b7350ca7098e
[ROCm/rocprofiler commit: 80973271f4 ]
2021-03-24 01:44:19 -05:00
Rachida Kebichi
6232a6f941
SWDEV-255637 add missing API calls.
...
Change-Id: Ic68258b6f3725a6dfdeab2a33b2e744f9b1b46b3
[ROCm/rocprofiler commit: 438300358b ]
2021-03-23 17:24:29 -04:00
Evgeny
0282e30855
SWDEV-274821 SPM initialization fix
...
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd
[ROCm/rocprofiler commit: e2c9d13e5b ]
2021-03-22 09:18:36 +00:00
Evgeny
cb57b17051
SWDEV-267190 real pid/tid arg values
...
Change-Id: Ia3d98364b5bc7e9eace3d742055af4e074d64c66
[ROCm/rocprofiler commit: 567f457f25 ]
2021-03-18 15:13:21 +00:00
Evgeny
02d06d0c19
SWDEV-274603 : fix SPM mode enabling
...
Change-Id: I67d9ecd8c808989315b2991ec492af2a4dd4ccbf
[ROCm/rocprofiler commit: c46913cdd6 ]
2021-03-10 01:27:28 -06:00
Evgeny
49c37df562
SWDEV-274603 : To enable SPM KFD mode
...
Change-Id: I53f86d51ae9855d9c96aa9d3a8c8e433070136a3
[ROCm/rocprofiler commit: 810b2b5982 ]
2021-02-25 21:38:39 -05:00
Evgeny
bacf127670
SWDEV-267558 : json rebasing supression by env ROCP_JSON_REBASE=0
...
Change-Id: I968d3922b1714dba09621a90c26cec959be55b91
[ROCm/rocprofiler commit: 3f504e9bd7 ]
2021-01-27 20:57:43 -06:00
Evgeny
e65aba50ad
SWDEV-241265 : fixing scripts
...
Change-Id: Id7fcc309d0003bc72e972976e1944afd6488001d
[ROCm/rocprofiler commit: 249b0c2b26 ]
2020-12-09 23:10:40 -05:00
Evgeny
2adb15caff
SWDEV-255662 : spm kfd mode support
...
Change-Id: I840c7e92d3d5a59d8e5402c4d8ef86bc123dd07c
[ROCm/rocprofiler commit: 7e60bf163e ]
2020-12-02 13:02:45 -06:00
Rachida Kebichi
e83ac32641
SWDEV-255543 Hsa memcopy info csv gen
...
Change-Id: I35ed7d613879343851007dce473784ab227cb3ed
[ROCm/rocprofiler commit: cf9975f217 ]
2020-11-18 11:08:01 -05:00
Rachida Kebichi
dcfa5dd45d
SWDEV-254356 : Fix issues with hip memcpy info
...
Change-Id: I62053d13cd22883680e25072e679c8304497a152
[ROCm/rocprofiler commit: a7c66d99a5 ]
2020-10-21 17:28:06 -05:00
Rachida Kebichi
b50e7ddcdf
SWDEV-254356 Adapting memcopy info mechanism to optimized JSON generator
...
Change-Id: If88e1a69682332ba6c8f782ce870c4035eae65a2
[ROCm/rocprofiler commit: 9b9096f5a8 ]
2020-10-19 21:12:12 -05:00
Evgeny
ec86ed0551
hip async ops api detection fix
...
Change-Id: I039caf278214ded95c1ef4d06a872d888ac19573
[ROCm/rocprofiler commit: 90cfe92b05 ]
2020-10-12 16:47:36 -05:00
Evgeny
87e1a397a3
SWDEV-252747 : testing using v3 object
...
Change-Id: I427df765d1be55bd2851ce441238b3eaa46cca4f
[ROCm/rocprofiler commit: 169e36f379 ]
2020-10-09 06:38:46 -04:00
Evgeny
617098d096
SWDEV-249924 : hip correlation id explicite propogation
...
Change-Id: If5799a812b7789a805797aed8be4ab52d417221f
[ROCm/rocprofiler commit: 8d021eb401 ]
2020-10-01 12:40:41 -04:00
Evgeny
e6be2dd03a
SWDEV-254810 : JSON generator cleanup
...
Change-Id: Iacf782ee1e33443e9efb35b1adfcd2a43feda91d
[ROCm/rocprofiler commit: 29191089cc ]
2020-10-01 00:48:56 -05:00
Evgeny
e508fd72cc
JSON flow timestamp fix
...
Change-Id: I2dacc29250f2d9c5d56bf8ab3ca7f621cb7b663a
[ROCm/rocprofiler commit: a87d41c6e4 ]
2020-09-21 03:53:03 -04:00
Evgeny Shcherbakov
fd73d18240
Merge "DB commit on close" into amd-staging
...
[ROCm/rocprofiler commit: a3fafe585d ]
2020-09-11 09:41:03 -04:00
Evgeny Shcherbakov
35a7a530ad
Merge "Fix for: statement uses 11, and there are 1 supplied" into amd-staging
...
[ROCm/rocprofiler commit: ae7e661b5d ]
2020-09-03 13:37:00 -04:00
Rachida Kebichi
c624daeadf
Fix for: statement uses 11, and there are 1 supplied
...
Change-Id: I7a6e34df865539f5e61686959b686c15bd909017
[ROCm/rocprofiler commit: 30e9ee7b16 ]
2020-08-28 13:44:41 -05:00
Xianwei Zhang
9c62afb8ba
concurrent: enable/fix the related settings
...
Concurrent profiling relies on the aqlprofile read_api
and tracker. This patch set those options to enable
the concurrent profiling.
Change-Id: Ib97d4d8facfbc11f2684d83109397cd13f117d5e
[ROCm/rocprofiler commit: b445610cd1 ]
2020-08-26 16:04:57 -04:00
Evgeny
6960dd7024
DB commit on close
...
Change-Id: I223f4237ba814f69b75c026be7ea9ace95a3d5ae
[ROCm/rocprofiler commit: be69ebd33d ]
2020-08-26 01:18:49 -05:00
Evgeny
4e691bd307
passing filename to mem_manager dump
...
Change-Id: I95cb99a69c4d2f8e55a063388d46a7f7b196f6bd
[ROCm/rocprofiler commit: 5511a969e7 ]
2020-08-15 04:01:08 -04:00
Evgeny
71a89320ef
postprocessing optimisation
...
Change-Id: I8091f293a80a8c546432932f209327ce97769c98
[ROCm/rocprofiler commit: 8a8f498468 ]
2020-08-12 13:00:33 -04:00
Evgeny
3374fe1705
roctx range api py script changes
...
Change-Id: I1ee994e00fa0283e129f05e2745c0c6caf8aa6b5
[ROCm/rocprofiler commit: 71b1da0eab ]
2020-08-07 16:53:24 -04:00
Rachida Kebichi
164dcde05a
Merge "Dump memcpy info for hsa" into amd-master
...
[ROCm/rocprofiler commit: 86f32d591b ]
2020-07-21 14:59:43 -04:00
Xianwei Zhang
27af6bc043
pmc: add parraller kernels 'rocprof' option
...
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
enable cnocurrent kernels 'rocprof' option
Change-Id: I5088d54879a4bf91e180eba520aa9427304c1713
[ROCm/rocprofiler commit: 4fad73511c ]
2020-07-20 12:57:42 -05:00
Rachida Kebichi
d96c67b2bf
Dump memcpy info for hsa
...
Change-Id: Ia7ae7f15939a5544f2e846afc049023cadcc0e62
[ROCm/rocprofiler commit: dabb49661b ]
2020-07-17 16:32:22 -04:00
Rachida Kebichi
5eb3782e02
Simple fix for incorrect kernel name
...
Change-Id: I8fe2c552d37aa2e1b8874cead4c126ee48fbc02e
[ROCm/rocprofiler commit: 1a06583d15 ]
2020-07-17 12:25:33 -04:00
Aaron En Ye Shi
a288114390
Merge "Update to use new bitcode library structure" into amd-master
...
[ROCm/rocprofiler commit: f96c9f49aa ]
2020-07-14 15:30:49 -04:00
Aaron Enye Shi
e19396bcde
Update to use new bitcode library structure
...
Also, continue support for old bitcode library layout
for backwards compatibility.
Change-Id: Id7f164ecb989a44c22958afce78745552a4babb3
[ROCm/rocprofiler commit: a6f6a13385 ]
2020-07-13 14:21:33 -04:00
Evgeny
dfec1e8668
enabling memory manager by env var
...
Change-Id: I8fe708882123b1dd62c20afd9e4967e9ab80c97a
[ROCm/rocprofiler commit: 81d768c91f ]
2020-07-13 12:58:50 -05:00
Rachida Kebichi
e6ab54a04c
Fix for ptr type unknown
...
Change-Id: I17674c689e7051b79d15cc4cae9676c86a8c46ae
[ROCm/rocprofiler commit: 37231cd00d ]
2020-07-07 01:16:16 -04:00
Rachida Kebichi
03b77328c4
Removed not needed extra parenthesis
...
Change-Id: I485c248773e7b0344e754c5ecf3341321216b7b2
[ROCm/rocprofiler commit: f15937f13c ]
2020-07-06 12:44:50 -04:00
Evgeny
1a84fa2528
JSON trace dependencies flow to-tid fix
...
Change-Id: If21b12d0560e7db07b1ff02e0441addff3453cbe
[ROCm/rocprofiler commit: c196fbe0d5 ]
2020-06-29 01:16:05 -05:00
Evgeny
fb7e7f1568
fixing activity correlation for n-process use case
...
Change-Id: I3e52452b586a08fc9cfcb50851ddcc600c7ef910
[ROCm/rocprofiler commit: d013413cb8 ]
2020-06-27 04:01:51 -05:00
Evgeny
6678281480
JSON start point fix in multiproc usecase
...
Change-Id: I84317af41ec0828f08bb2d45803515738167e77a
[ROCm/rocprofiler commit: 60c106a07d ]
2020-06-25 10:27:00 -04:00