Evgeny
c783e62230
--trace-period option
...
Change-Id: I29bce7763e62659d22d6abe144b8d970ab4f41c3
2019-10-09 18:34:48 -04:00
Evgeny
d8bd1f5ae5
fixed querying of available metrics to use correct agnet name
...
Change-Id: Ic2c82d5cba760ba5b0caa373e5309f17c908b8e9
2019-10-03 13:30:33 -04:00
Evgeny Shcherbakov
363107b09e
Merge "tests: replace 'bc' with 'awk' to be more portable" into amd-master
2019-09-17 17:39:21 -04:00
Evgeny
d2bb3be7f9
fixing build instructions
...
Change-Id: I7a8e2a04f7a048864f4f8fd89a92fceccfcc867f
2019-09-13 16:41:15 -05:00
Evgeny
6f6208f06d
scripts fixes
...
Change-Id: I1d51bf4fe2ba62f26bafc251ae702e1064a3e5e3
2019-09-11 19:22:26 -05:00
Xianwei Zhang
51bdb2ce02
tests: replace 'bc' with 'awk' to be more portable
...
Calbulator package 'bc' is not always installed, occasionally
breaking the test scripts. As a fix, this patch gets rid of
'bc' and uses 'awk' instead.
Change-Id: I5f4dbf018d97581a626cf95d147c415755477771
2019-08-26 10:53:52 -04:00
Evgeny
e5b938b5fb
unordered metrics expressions config
...
Change-Id: I998423046abfd7af45f28071911276cce1c4f3da
2019-08-25 05:08:55 -05:00
Evgeny Shcherbakov
6fa4f1dc66
Merge "tests: improve scripts on rocm v2.6, and do more check" into amd-master
2019-08-23 15:02:06 -04:00
Xianwei Zhang
68bf049d49
tests: improve scripts on rocm v2.6, and do more check
...
'rocminfo' output format on v2.6 is slightly different, and thus
cache capacity and cache linesize can be incorrectly obtained.
Example: 'L1: 16KB' vs. 'L1: 16(0x10) KB'. This patch fixes the
formatting issue, and further does more check on profiled .csv
file.
Change-Id: I934ee3613a79fa8acc431a394e88a9e09833311b
2019-08-23 12:49:59 -04:00
Evgeny Shcherbakov
4f4e02de7a
Merge "build: slightly change files to pass compilation" into amd-master
2019-08-23 11:44:44 -04:00
Evgeny
aecc7abc76
Mem32Bwrites -> MemWrites32B renaming
...
Change-Id: I86f570b97178caa3d3d5fcbc5ecc716216dad504
2019-08-22 22:34:36 -05:00
Evgeny
dff3256dd5
mi100 metrics fix
...
Change-Id: I862578a2b7827a88cc6926d636d5eb9a8320a244
2019-08-22 22:30:48 -05:00
Xianwei Zhang
ee917344ff
build: slightly change files to pass compilation
...
Compiled using Clang and encountered errors on ambiguous pointer
type, implicit conversion NULL to bool, and unused function, etc.
As a fix, this patch slightly updates the related codes.
Change-Id: I4a73d66293313dda36749036f5c73aaf2a445231
2019-08-22 23:29:16 -04:00
Evgeny
4a9c36b32c
multiple processes tracing support
...
Change-Id: Ic9afcdfdf9033f35bdfb78007ebf96eec5f0de44
2019-08-21 11:53:27 -05:00
Evgeny
72fdf1afcb
readme update
...
Change-Id: Ic09aa90e9b6d584aa1dca4e54f6c8629493aa501
2019-08-10 00:15:57 -05:00
Evgeny
c635e3a25e
inheritance fix
...
Change-Id: I1ff0539b658c5e742a05085b8b5514ffd2c10f47
2019-08-08 18:00:51 -05:00
Evgeny
82ecf9e7a4
overwriting on inheritance
...
Change-Id: I6faf79874fc14e898c75972aa2f372e228105f7b
2019-08-08 01:54:29 -05:00
Evgeny
09eed4f35b
gfx908 events update
...
Change-Id: Ieb7c72f66b7e5e5dfc29d97650a29722a6276a31
2019-08-07 19:44:31 -05:00
Evgeny
855a801ae7
adding gfx908 namespace
...
Change-Id: Ifd45385777be5066c8bfef23ee24bbabadf4dffa
2019-07-27 03:06:10 -05:00
Evgeny
9678e5f680
fixing libraries pathes
...
Change-Id: Ife3186ed10309ac674dd8f112b3a6647dce06c7b
2019-07-26 22:13:58 -05:00
Evgeny Shcherbakov
cb1a7f6481
Merge "sys trace support" into amd-master
2019-07-24 16:46:34 -04:00
Evgeny Shcherbakov
8092bd9b2b
Merge "tests: make tests print msg and exit on errors" into amd-master
2019-07-24 14:20:25 -04:00
Evgeny Shcherbakov
ed68e4c432
Merge "tests: remove TCC_EA_* counters to support gfx8" into amd-master
2019-07-24 14:20:14 -04:00
Evgeny
86c6f93536
sys trace support
...
Change-Id: I7297a0bf73c2895b1751c97f9ee9bbd1c1c2aa93
2019-07-24 13:15:25 -05:00
Xianwei Zhang
87e46dde4e
tests: make tests print msg and exit on errors
...
Change-Id: Ie5af942551a6970a7414c30988a47ed57a9baf27
2019-07-23 17:18:54 -04:00
Evgeny Shcherbakov
710a9de411
Merge "integrating memory_validation bench in cmake build" into amd-master
2019-07-23 14:49:50 -04:00
Evgeny Shcherbakov
657241e848
Merge "xml: add extra events for gfx906 GPUs" into amd-master
2019-07-23 12:40:39 -04:00
Evgeny
6c5ca62575
integrating memory_validation bench in cmake build
...
Change-Id: I90ad85c7b1517c162804a00d5abb75007bf831fe
2019-07-23 11:14:44 -05:00
Xianwei Zhang
6152563612
tests: remove TCC_EA_* counters to support gfx8
...
TCC_EA_* counters are only available on gfx9 devices, and thus
the memory validation tests fail on gfx8. To fix the issue,
this patch removes TCC_EA_* metrics and keeps only the ones
supported by both gfx8 and gfx9.
Change-Id: Ib3889435b88f2e6970981304a72cee75d5343d4b
2019-07-23 05:00:28 -05:00
Evgeny Shcherbakov
1d9b6b4d4f
Merge "tests: add top-level Makefile and run.sh" into amd-master
2019-07-22 16:09:47 -04:00
Xianwei Zhang
a5a56425bb
tests: add top-level Makefile and run.sh
...
Change-Id: Ieaef51422c11ec27d56ff19953f9a5dd1f563353
2019-07-18 05:21:20 -05:00
Evgeny
4ef7d7d156
sys trace adding
...
Change-Id: I8d0a3a34e14f897e635a42faa42eedc1a1f86ace
2019-07-18 00:41:49 -05:00
Xianwei Zhang
ca9a714b77
xml: add extra events for gfx906 GPUs
...
Compard to gfx900, e.g., Vega 10, gfx906 adds extra counter events.
A typical difference is on TCC-EA that gfx906 (e.g., Vega 20) has 2
EAs per TCC, while only one single EA/TCC on gfx900. As such,
additional counters must be profiled to get correct results. This
patch adds one extra events to specifically handle gfx906.
Change-Id: Id6c9d37548a102c80bbfddcfa11e77d20f17431a
2019-07-16 12:56:45 -05:00
Xianwei Zhang
8b445d2c00
test: add tests to validate cache/mem blocks
...
To validate cache and memory blocks profiling, this patch prepares
tests to profile dedicated kernels using specified counters, to
compare the profiled results against expected ones, and further
show the test is a fail or pass. Tests here are focusing on cache
hit/miss, memory fetch/write size.
Change-Id: Icbc8096a6e15256dec66297597a57c7665a533b8
2019-07-16 12:39:38 -05:00
Evgeny Shcherbakov
b677eebfd7
Merge "adding xml inheritance" into amd-master
2019-07-16 19:49:11 -04:00
Evgeny
46fd670818
adding xml inheritance
...
Change-Id: Iafbfb8a6fb1936cf1315c1f5215879e99187da77
2019-07-16 09:20:53 -07:00
Evgeny
d3837bbf69
default HIP/HCC paths
...
Change-Id: Icad4c126e6aaa1212093f4a1765a6cc91e4be870
2019-07-15 15:08:51 -05:00
Evgeny
f3d27ef21c
hsa-trace fix for no-kernel dispatching scenario
...
Change-Id: I2833964222b285de8fcf93b0b69e9f12ee4a41d8
2019-07-12 11:22:57 -05:00
Evgeny
068e2b1c27
hip trace fix
...
Change-Id: I2477932a4e537082179859640904450ba8be82f4
2019-06-21 18:16:26 -05:00
Evgeny
4d677562e6
minor change for read packets support
...
Change-Id: I6ca1087b29d00c60f7deedb4dbd25992e8a3e726
2019-06-19 15:09:27 -05:00
Evgeny
988283533f
adding SPM test
...
Change-Id: I55dde52e668206e238ea860dd11e0ed5501a582a
2019-06-04 15:34:21 -05:00
Evgeny
6d6eb2b2d0
adding SPM trace support
...
Change-Id: I07c0d3ec5c4ec51ea00fea539c930c6ed27b1163
2019-06-04 05:07:19 -05:00
Evgeny
c0703c063c
support for python apps profiling
...
Change-Id: I2dd6d9d760abb1dab59f0d3464b9a50008694187
2019-05-16 12:07:07 -05:00
Evgeny
66f6affe06
instances number 1 for derived metrics
...
Change-Id: Id1cc33811755baeb26e944e9362ab035e528058c
2019-04-08 01:19:38 -05:00
Evgeny
3755d2e7cb
multi gpu standalone intercepting
...
Change-Id: I7e1e75b0c77e5401e944f0f8d1ab367607041a73
2019-04-02 23:13:12 -05:00
Evgeny
a91d1e039a
adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table
...
Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e
2019-04-02 12:22:34 -05:00
Evgeny
8a69460f1d
building kernel objects dynamically
...
Change-Id: Ie5a4de050decdf59f5ab279e85ee3ac6c654db7b
2019-04-01 20:46:40 -05:00
Evgeny
8c15ff4bf8
extending xontext pool API
...
Change-Id: I56809354a9ea991489479117160f3d4f451f82b3
2019-03-29 11:12:40 -05:00
Evgeny
1ed97815f1
creation fix
...
Change-Id: I717d96555677664ce0a926cf1c3c3c48f55287d9
2019-03-13 15:17:56 -05:00
Evgeny
f834529669
improving rocprof tracing usage
...
Change-Id: I4db513c93406a7038b8b681d12a0dc4298975f01
2019-03-12 18:19:17 -05:00