Xianwei Zhang
a67147ca5b
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
[ROCm/rocprofiler commit: 51bdb2ce02 ]
2019-08-26 10:53:52 -04:00
Evgeny
7bf4ab543d
unordered metrics expressions config
...
Change-Id: I998423046abfd7af45f28071911276cce1c4f3da
[ROCm/rocprofiler commit: e5b938b5fb ]
2019-08-25 05:08:55 -05:00
Evgeny Shcherbakov
2a9012d83c
Merge "tests: improve scripts on rocm v2.6, and do more check" into amd-master
...
[ROCm/rocprofiler commit: 6fa4f1dc66 ]
2019-08-23 15:02:06 -04:00
Xianwei Zhang
04900be489
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
[ROCm/rocprofiler commit: 68bf049d49 ]
2019-08-23 12:49:59 -04:00
Evgeny Shcherbakov
ba57b18464
Merge "build: slightly change files to pass compilation" into amd-master
...
[ROCm/rocprofiler commit: 4f4e02de7a ]
2019-08-23 11:44:44 -04:00
Evgeny
58968594c7
Mem32Bwrites -> MemWrites32B renaming
...
Change-Id: I86f570b97178caa3d3d5fcbc5ecc716216dad504
[ROCm/rocprofiler commit: aecc7abc76 ]
2019-08-22 22:34:36 -05:00
Evgeny
e5169bf5b3
mi100 metrics fix
...
Change-Id: I862578a2b7827a88cc6926d636d5eb9a8320a244
[ROCm/rocprofiler commit: dff3256dd5 ]
2019-08-22 22:30:48 -05:00
Xianwei Zhang
3dce66bd80
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
[ROCm/rocprofiler commit: ee917344ff ]
2019-08-22 23:29:16 -04:00
Evgeny
0762516023
multiple processes tracing support
...
Change-Id: Ic9afcdfdf9033f35bdfb78007ebf96eec5f0de44
[ROCm/rocprofiler commit: 4a9c36b32c ]
2019-08-21 11:53:27 -05:00
Evgeny
5c01d1cde3
readme update
...
Change-Id: Ic09aa90e9b6d584aa1dca4e54f6c8629493aa501
[ROCm/rocprofiler commit: 72fdf1afcb ]
2019-08-10 00:15:57 -05:00
Evgeny
a691aeb3ab
inheritance fix
...
Change-Id: I1ff0539b658c5e742a05085b8b5514ffd2c10f47
[ROCm/rocprofiler commit: c635e3a25e ]
2019-08-08 18:00:51 -05:00
Evgeny
fc6e208b50
overwriting on inheritance
...
Change-Id: I6faf79874fc14e898c75972aa2f372e228105f7b
[ROCm/rocprofiler commit: 82ecf9e7a4 ]
2019-08-08 01:54:29 -05:00
Evgeny
55680ff541
gfx908 events update
...
Change-Id: Ieb7c72f66b7e5e5dfc29d97650a29722a6276a31
[ROCm/rocprofiler commit: 09eed4f35b ]
2019-08-07 19:44:31 -05:00
Evgeny
05f8d9ebca
adding gfx908 namespace
...
Change-Id: Ifd45385777be5066c8bfef23ee24bbabadf4dffa
[ROCm/rocprofiler commit: 855a801ae7 ]
2019-07-27 03:06:10 -05:00
Evgeny
fab2d5d4cd
fixing libraries pathes
...
Change-Id: Ife3186ed10309ac674dd8f112b3a6647dce06c7b
[ROCm/rocprofiler commit: 9678e5f680 ]
2019-07-26 22:13:58 -05:00
Evgeny Shcherbakov
03518b6ba6
Merge "sys trace support" into amd-master
...
[ROCm/rocprofiler commit: cb1a7f6481 ]
2019-07-24 16:46:34 -04:00
Evgeny Shcherbakov
2761dff93f
Merge "tests: make tests print msg and exit on errors" into amd-master
...
[ROCm/rocprofiler commit: 8092bd9b2b ]
2019-07-24 14:20:25 -04:00
Evgeny Shcherbakov
8fc21a61c7
Merge "tests: remove TCC_EA_* counters to support gfx8" into amd-master
...
[ROCm/rocprofiler commit: ed68e4c432 ]
2019-07-24 14:20:14 -04:00
Evgeny
5c8feac0de
sys trace support
...
Change-Id: I7297a0bf73c2895b1751c97f9ee9bbd1c1c2aa93
[ROCm/rocprofiler commit: 86c6f93536 ]
2019-07-24 13:15:25 -05:00
Xianwei Zhang
49fb7711b1
tests: make tests print msg and exit on errors
...
Change-Id: Ie5af942551a6970a7414c30988a47ed57a9baf27
[ROCm/rocprofiler commit: 87e46dde4e ]
2019-07-23 17:18:54 -04:00
Evgeny Shcherbakov
907bb900b6
Merge "integrating memory_validation bench in cmake build" into amd-master
...
[ROCm/rocprofiler commit: 710a9de411 ]
2019-07-23 14:49:50 -04:00
Evgeny Shcherbakov
bd0b7c6c07
Merge "xml: add extra events for gfx906 GPUs" into amd-master
...
[ROCm/rocprofiler commit: 657241e848 ]
2019-07-23 12:40:39 -04:00
Evgeny
8b16b3b733
integrating memory_validation bench in cmake build
...
Change-Id: I90ad85c7b1517c162804a00d5abb75007bf831fe
[ROCm/rocprofiler commit: 6c5ca62575 ]
2019-07-23 11:14:44 -05:00
Xianwei Zhang
82b1bfabed
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
[ROCm/rocprofiler commit: 6152563612 ]
2019-07-23 05:00:28 -05:00
Evgeny Shcherbakov
283347f22a
Merge "tests: add top-level Makefile and run.sh" into amd-master
...
[ROCm/rocprofiler commit: 1d9b6b4d4f ]
2019-07-22 16:09:47 -04:00
Xianwei Zhang
19a2bdc734
tests: add top-level Makefile and run.sh
...
Change-Id: Ieaef51422c11ec27d56ff19953f9a5dd1f563353
[ROCm/rocprofiler commit: a5a56425bb ]
2019-07-18 05:21:20 -05:00
Evgeny
47f13b0326
sys trace adding
...
Change-Id: I8d0a3a34e14f897e635a42faa42eedc1a1f86ace
[ROCm/rocprofiler commit: 4ef7d7d156 ]
2019-07-18 00:41:49 -05:00
Xianwei Zhang
62b33801c4
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
[ROCm/rocprofiler commit: ca9a714b77 ]
2019-07-16 12:56:45 -05:00
Xianwei Zhang
f5b54bff3d
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
[ROCm/rocprofiler commit: 8b445d2c00 ]
2019-07-16 12:39:38 -05:00
Evgeny Shcherbakov
f55ccaf38e
Merge "adding xml inheritance" into amd-master
...
[ROCm/rocprofiler commit: b677eebfd7 ]
2019-07-16 19:49:11 -04:00
Evgeny
4c1a1ce831
adding xml inheritance
...
Change-Id: Iafbfb8a6fb1936cf1315c1f5215879e99187da77
[ROCm/rocprofiler commit: 46fd670818 ]
2019-07-16 09:20:53 -07:00
Evgeny
fe62c37cc1
default HIP/HCC paths
...
Change-Id: Icad4c126e6aaa1212093f4a1765a6cc91e4be870
[ROCm/rocprofiler commit: d3837bbf69 ]
2019-07-15 15:08:51 -05:00
Evgeny
a701cd90ed
hsa-trace fix for no-kernel dispatching scenario
...
Change-Id: I2833964222b285de8fcf93b0b69e9f12ee4a41d8
[ROCm/rocprofiler commit: f3d27ef21c ]
2019-07-12 11:22:57 -05:00
Evgeny
e6336aa4a8
hip trace fix
...
Change-Id: I2477932a4e537082179859640904450ba8be82f4
[ROCm/rocprofiler commit: 068e2b1c27 ]
2019-06-21 18:16:26 -05:00
Evgeny
82ee832bef
minor change for read packets support
...
Change-Id: I6ca1087b29d00c60f7deedb4dbd25992e8a3e726
[ROCm/rocprofiler commit: 4d677562e6 ]
2019-06-19 15:09:27 -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
cc7268a832
support for python apps profiling
...
Change-Id: I2dd6d9d760abb1dab59f0d3464b9a50008694187
[ROCm/rocprofiler commit: c0703c063c ]
2019-05-16 12:07:07 -05:00
Evgeny
4f1f1804f0
instances number 1 for derived metrics
...
Change-Id: Id1cc33811755baeb26e944e9362ab035e528058c
[ROCm/rocprofiler commit: 66f6affe06 ]
2019-04-08 01:19:38 -05:00
Evgeny
d6fee643f1
multi gpu standalone intercepting
...
Change-Id: I7e1e75b0c77e5401e944f0f8d1ab367607041a73
[ROCm/rocprofiler commit: 3755d2e7cb ]
2019-04-02 23:13:12 -05:00
Evgeny
06778e004b
adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table
...
Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e
[ROCm/rocprofiler commit: a91d1e039a ]
2019-04-02 12:22:34 -05:00
Evgeny
fc1e03f265
building kernel objects dynamically
...
Change-Id: Ie5a4de050decdf59f5ab279e85ee3ac6c654db7b
[ROCm/rocprofiler commit: 8a69460f1d ]
2019-04-01 20:46:40 -05:00
Evgeny
65ea957d1f
extending xontext pool API
...
Change-Id: I56809354a9ea991489479117160f3d4f451f82b3
[ROCm/rocprofiler commit: 8c15ff4bf8 ]
2019-03-29 11:12:40 -05:00
Evgeny
8b6c9cc839
creation fix
...
Change-Id: I717d96555677664ce0a926cf1c3c3c48f55287d9
[ROCm/rocprofiler commit: 1ed97815f1 ]
2019-03-13 15:17:56 -05:00
Evgeny
1ecd03ea5e
improving rocprof tracing usage
...
Change-Id: I4db513c93406a7038b8b681d12a0dc4298975f01
[ROCm/rocprofiler commit: f834529669 ]
2019-03-12 18:19:17 -05:00
Evgeny
186c45b5c6
scripts fixes
...
Change-Id: Ie14589e465d8100c06f19da437ee6aa67999509f
[ROCm/rocprofiler commit: b278dc452a ]
2019-03-07 23:55:30 -06:00
Evgeny
222ef52c5d
supporting original hsa api table
...
Change-Id: Ia98554c137a3ec6433d8234ba17ca4dc2f2be940
[ROCm/rocprofiler commit: df860838a2 ]
2019-03-06 13:41:54 -06:00
Evgeny
2c8414e512
introducing hsa api duplicating table
...
Change-Id: I4bbf933def018ad7b282fa08e587c53f5a44b336
[ROCm/rocprofiler commit: 89ff4ace93 ]
2019-03-05 19:42:26 -06:00
Evgeny
ef8c1dd53b
minor change
...
Change-Id: Ia4200a7e72c40c2796160c4773dd6530fa8e9d76
[ROCm/rocprofiler commit: 5b266dc794 ]
2019-03-05 09:09:23 -06:00
Evgeny
878e8e20b1
adding context pool
...
Change-Id: Id8c6ee43ac6c86480848a5d3e759c42730cf388a
[ROCm/rocprofiler commit: 632309a626 ]
2019-03-03 01:18:42 -06:00