Commit Graph

11 Commits

Author SHA1 Message Date
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 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 58968594c7 Mem32Bwrites -> MemWrites32B renaming
Change-Id: I86f570b97178caa3d3d5fcbc5ecc716216dad504


[ROCm/rocprofiler commit: aecc7abc76]
2019-08-22 22:34:36 -05: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
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 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
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
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