Граф коммитов

163 Коммитов

Автор SHA1 Сообщение Дата
Saurabh Verma ca059e1aa9 SWDEV-296100: hipStreamWaitValue64 and hipStreamWriteValue64 break rocprof
Change-Id: I5b31affa6df4359a02014b87b825554ac5519c1a
2021-09-15 12:07:40 -04:00
Laurent Morichetti d926d09134 Merge "Merge roctx_trace.txt" into amd-staging 2021-09-02 12:31:29 -04:00
rachida 6f31192501 SWDEV-295878 Fix for seg fault when using --trace-start off
Change-Id: I94d95dd4fb49aace5f1ee006c47b94573f997b85
2021-08-31 16:49:48 -04:00
Laurent Morichetti 6fe4a5db51 Move spmltgen.py to amd-npi
Change-Id: I63e67193453e2c5479a03a8c9c97f94eced04268
2021-08-20 10:45:39 -07:00
rachida f1c0faa601 SWDEV-294331 Fix for memcopy Incorrect number of bindings error
Change-Id: I6dabca411bab567b27db8ef801006b393b22788e
2021-08-13 15:53:22 -07:00
Ammar Elwazir a3700a9243 Merge "SWDEV-294319 & SWDEV-294321 Added support for missing functions" into amd-staging 2021-08-11 21:52:31 -04:00
Ammar ELWazir 14b62557d0 SWDEV-296331: Fixed libhsakmt.so.1
Removed the old code for trying to locate libhsakmt.so.1 as it is replaced by libhsakmt.a static library

Change-Id: Icc5a0f6ead285e2406e6e83614e536184e3a2663
2021-08-11 12:25:06 -04:00
Laurent Morichetti 4ab94c410a Merge roctx_trace.txt
Add roctx_trace to the list of files that need to be merged when
aggregating results from multiple runs.

Change-Id: I5810be9e9220765ed8e8a84eca854131e97e61b1
2021-08-05 09:04:26 -07:00
Ammar ELWazir 804e063eda SWDEV-294319 & SWDEV-294321 Added support for missing functions
Added Support for launch kernel functions to fill_api_db
Added support for hipMemcpyToSymbol in add_memcpy
Added support for hsa_amd_memory_pool_allocate to be counted as source of allocations

Change-Id: I68806106324b19ca6f09d413df37c27582be2f51
2021-08-02 16:55:33 -04:00
Christophe Paquot 79d477daed SWDEV-295205 - Remove KFD domain from roc profiler
Removed KFD domain and references.

Change-Id: Icd7e1789c77490e57b527be065043eadb6b75c1c
2021-07-14 16:50:20 -07:00
Christophe Paquot 244dadcb85 SWDEV-282961: dependency arrows missing
When building the json data flow, from_us_list has (timestamp, stream_id, thread_id).
stream_id used to be interpreted as from_tid and tid as to_tid. But that's not correct.
stream_id is always a destination and tid is the initiator (source).

Change-Id: I2f5bb86a387b4003b17271c90bdf9de4b59a79bf
2021-06-30 09:49:45 -04:00
rachida b54bfac5bf SWDEV-291267 Script to merge mpi rocprof traces
Change-Id: I3d86276666efb067ccb62730e74a67e0cc7c4d42
2021-06-25 15:12:35 -04:00
Rachida Kebichi afad08b4c5 Merge "SWDEV-282961 Skip barrier events. Process hipMemSet events" into amd-staging 2021-06-16 10:27:39 -04:00
rachida caa5f32300 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
2021-06-10 16:33:39 -04:00
rachida 4ba91a972c 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
2021-06-08 14:21:27 -04:00
Rachida Kebichi 761bd6a86b 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
2021-06-04 12:18:35 -04:00
Ashutosh Misra f3c80f645a rocprofiler:using right rocm lib(s) path
Correcting thunklib preload with tested absolute path

SWDEV-285578

Change-Id: I8aa8205a6886d2101cf66016d307ff8a7c86257b
2021-05-25 02:04:51 -04:00
Laurent Morichetti badd1270f6 Use ${BASH_SOURCE[0]} to deduce the install dir
Change-Id: I96b81c4d01a88a1edee05a54a4982e4a93225847
2021-05-20 16:36:57 -07:00
Rachida Kebichi 7a5e408891 Fixed issue with map key in dep_proc map
Change-Id: I5c2deeda2c2dedd9c800af60c0b4748279f8418e
2021-04-23 13:14:40 -04:00
Rachida Kebichi 7d99e03caf Merge "SWDEV-263827 Visualize back-dep for wait" into amd-staging 2021-04-12 09:32:28 -04:00
Evgeny 780dfa37d4 cleanup after separating for staging and npi branches
Change-Id: Iadd624df21b85f1590e901a8125680743e3281a3
2021-04-08 20:37:47 +00:00
Evgeny 82d7bb2145 SWDEV-265287 : integration spmltgen.py script
Change-Id: Ief3e93225fb6660e72a04e4bd4b379262b73c914
2021-04-08 10:04:39 -04:00
Rachida Kebichi a80f8e6e03 SWDEV-263827 Visualize back-dep for wait
Change-Id: Ic8a00c6ec583c5b90fcd0a1d19c5a51ce6303449
2021-04-05 09:44:25 -04:00
Evgeny Shcherbakov 4a31d93ec3 Merge "obj-tracking default on" into amd-staging 2021-03-26 15:54:45 -04:00
Evgeny 80973271f4 obj-tracking default on
Change-Id: If919c1ee792e59bdb938608382e5b7350ca7098e
2021-03-24 01:44:19 -05:00
Rachida Kebichi 438300358b SWDEV-255637 add missing API calls.
Change-Id: Ic68258b6f3725a6dfdeab2a33b2e744f9b1b46b3
2021-03-23 17:24:29 -04:00
Evgeny e2c9d13e5b SWDEV-274821 SPM initialization fix
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd
2021-03-22 09:18:36 +00:00
Evgeny 567f457f25 SWDEV-267190 real pid/tid arg values
Change-Id: Ia3d98364b5bc7e9eace3d742055af4e074d64c66
2021-03-18 15:13:21 +00:00
Evgeny c46913cdd6 SWDEV-274603 : fix SPM mode enabling
Change-Id: I67d9ecd8c808989315b2991ec492af2a4dd4ccbf
2021-03-10 01:27:28 -06:00
Evgeny 810b2b5982 SWDEV-274603 : To enable SPM KFD mode
Change-Id: I53f86d51ae9855d9c96aa9d3a8c8e433070136a3
2021-02-25 21:38:39 -05:00
Evgeny 3f504e9bd7 SWDEV-267558 : json rebasing supression by env ROCP_JSON_REBASE=0
Change-Id: I968d3922b1714dba09621a90c26cec959be55b91
2021-01-27 20:57:43 -06:00
Evgeny 249b0c2b26 SWDEV-241265 : fixing scripts
Change-Id: Id7fcc309d0003bc72e972976e1944afd6488001d
2020-12-09 23:10:40 -05:00
Evgeny 7e60bf163e SWDEV-255662 : spm kfd mode support
Change-Id: I840c7e92d3d5a59d8e5402c4d8ef86bc123dd07c
2020-12-02 13:02:45 -06:00
Rachida Kebichi cf9975f217 SWDEV-255543 Hsa memcopy info csv gen
Change-Id: I35ed7d613879343851007dce473784ab227cb3ed
2020-11-18 11:08:01 -05:00
Rachida Kebichi a7c66d99a5 SWDEV-254356 : Fix issues with hip memcpy info
Change-Id: I62053d13cd22883680e25072e679c8304497a152
2020-10-21 17:28:06 -05:00
Rachida Kebichi 9b9096f5a8 SWDEV-254356 Adapting memcopy info mechanism to optimized JSON generator
Change-Id: If88e1a69682332ba6c8f782ce870c4035eae65a2
2020-10-19 21:12:12 -05:00
Evgeny 90cfe92b05 hip async ops api detection fix
Change-Id: I039caf278214ded95c1ef4d06a872d888ac19573
2020-10-12 16:47:36 -05:00
Evgeny 169e36f379 SWDEV-252747 : testing using v3 object
Change-Id: I427df765d1be55bd2851ce441238b3eaa46cca4f
2020-10-09 06:38:46 -04:00
Evgeny 8d021eb401 SWDEV-249924 : hip correlation id explicite propogation
Change-Id: If5799a812b7789a805797aed8be4ab52d417221f
2020-10-01 12:40:41 -04:00
Evgeny 29191089cc SWDEV-254810 : JSON generator cleanup
Change-Id: Iacf782ee1e33443e9efb35b1adfcd2a43feda91d
2020-10-01 00:48:56 -05:00
Evgeny a87d41c6e4 JSON flow timestamp fix
Change-Id: I2dacc29250f2d9c5d56bf8ab3ca7f621cb7b663a
2020-09-21 03:53:03 -04:00
Evgeny Shcherbakov a3fafe585d Merge "DB commit on close" into amd-staging 2020-09-11 09:41:03 -04:00
Evgeny Shcherbakov ae7e661b5d Merge "Fix for: statement uses 11, and there are 1 supplied" into amd-staging 2020-09-03 13:37:00 -04:00
Rachida Kebichi 30e9ee7b16 Fix for: statement uses 11, and there are 1 supplied
Change-Id: I7a6e34df865539f5e61686959b686c15bd909017
2020-08-28 13:44:41 -05:00
Xianwei Zhang b445610cd1 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
2020-08-26 16:04:57 -04:00
Evgeny be69ebd33d DB commit on close
Change-Id: I223f4237ba814f69b75c026be7ea9ace95a3d5ae
2020-08-26 01:18:49 -05:00
Evgeny 5511a969e7 passing filename to mem_manager dump
Change-Id: I95cb99a69c4d2f8e55a063388d46a7f7b196f6bd
2020-08-15 04:01:08 -04:00
Evgeny 8a8f498468 postprocessing optimisation
Change-Id: I8091f293a80a8c546432932f209327ce97769c98
2020-08-12 13:00:33 -04:00
Evgeny 71b1da0eab roctx range api py script changes
Change-Id: I1ee994e00fa0283e129f05e2745c0c6caf8aa6b5
2020-08-07 16:53:24 -04:00
Rachida Kebichi 86f32d591b Merge "Dump memcpy info for hsa" into amd-master 2020-07-21 14:59:43 -04:00