Evgeny
32a11bdd52
fix
2020-03-26 11:22:38 -05:00
eshcherb
6dbfe515dc
Merge pull request #35 from rkebichi/rkebichi-trace-compare
...
Rkebichi trace compare
2020-03-25 19:28:05 -05:00
eshcherb
7b8b39b495
Merge branch 'amd-master' into rkebichi-trace-compare
2020-03-25 19:27:49 -05:00
rkebichi
e0b23ead23
Update tests_trace_cmp_levels.txt
2020-03-25 15:30:24 -04:00
rkebichi
bf64364899
Update MatrixTranspose_test_trace.txt
2020-03-25 15:29:29 -04:00
rkebichi
afd562dd94
Update check_trace.py
2020-03-25 15:27:20 -04:00
rkebichi
17a90f01f6
Delete merge_jsons.py
...
Will submit this file to rocprofiler instead. This way, the trace compare code changes can be merged to the master.
2020-03-25 11:41:07 -04:00
Evgeny
299a08e4be
update for gfx9 and 3.1
...
Change-Id: I0c218f8a2dcdad1c8deb44770d8a64ccd95a92fb
2020-03-24 19:07:11 -05:00
Evgeny
233ceb386e
changing include link on directory
...
Change-Id: I6901b17b815ae24678372bde6bbb624698643257
2020-03-24 15:52:01 -05:00
Evgeny
2dacdd041d
clang compilation fix
...
Change-Id: I4fb4625407faade8ee72c9fe7d0176991e772dde
2020-03-24 15:40:10 -05:00
Evgeny
cb89ed3325
change cmake links to directories
2020-03-23 17:35:18 -05:00
rkebichi
1d46509af4
Update check_trace.py
2020-03-23 17:29:38 -04:00
rkebichi
a3be8ff7f1
Update CMakeLists.txt
2020-03-23 17:28:46 -04:00
rkebichi
cd2153829d
Create tests_trace_cmp_levels.txt
2020-03-23 17:24:12 -04:00
rkebichi
d108cca320
Delete parse_trace.py
...
Not needed (replaced by check_trace.py)
2020-03-23 17:19:03 -04:00
rkebichi
ebf78e2a43
Delete check_trace.sh
...
Not needed (replaced by check_trace.py)
2020-03-23 17:16:27 -04:00
rkebichi
d8eeea6b8b
Update run.sh
2020-03-23 17:14:03 -04:00
rkebichi
e100e6d87d
Create check_trace.py
2020-03-23 17:12:13 -04:00
Sean Keely
f3b532b42d
Fix Debian package build on CPack 3.10.
...
CPack now incorrectly adds two copies of directory symlinks when
building Debian packages. This causes dpkg to see a file conflict
and fail installing.
The correct long term solution is to remove the symlink and use a
flat directory structure. This patch adds the symlink in the post
install script as a workaround until we can switch to flat layout.
Change-Id: I879b6cbc2661c19df3db639cb42fba0972fddb93
2020-03-20 21:35:32 -05:00
Jon Chesterfield
0a1718b753
Replace libpci with new parser.
...
libpci was only used to find a marketing string for a device.
This patch looks for a pci.ids on disk and parses it to extract the
same string, using 'Device xxxx' as the fallback on file i/o error
or missing data from the text file. Tested by checking every vendor/
device pair against the values returned from libpci.
Change-Id: I21af3157472c1824d57fcee31393c6ee8ce07330
Signed-off-by: Jon Chesterfield <Jonathan.Chesterfield@amd.com >
2020-03-20 17:50:47 +00:00
Jeffrey Poznanovic
5dcd49f726
Added CentOS-6 mods to support manylinux2010
...
Change-Id: I8c303ccfdc7d314d1b4609ed6181d46795ada621
2020-03-20 08:47:25 -04:00
Evgeny
ffa0a51408
adding mytest target
...
Change-Id: Ia82b971597a4876d99c85d7dbbf997faea83f0c9
2020-03-19 01:27:44 -05:00
Divya Shikre
96259b5830
kfdtest: Provide Unique ID information.
...
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com >
Change-Id: I9a837a3d1ab38f5ad05673406874d862c9e97541
2020-03-18 15:55:59 -04:00
rkebichi
2ac70a3fb9
Update merge_jsons.py
...
Fixed inclusion of metadata for rocminfo/hipcc_version, also fixed that no shift happens for 1st json
2020-03-18 12:36:07 -04:00
rkebichi
8247b59a81
Update CMakeLists.txt
2020-03-17 12:27:52 -04:00
rkebichi
85d96587d8
Update run.sh
2020-03-17 12:26:23 -04:00
rkebichi
a342265a30
Create check_trace.sh
2020-03-17 12:22:10 -04:00
rkebichi
90912231e7
Update parse_trace.py
2020-03-17 12:20:25 -04:00
rkebichi
9c67df7fd0
Update merge_jsons.py
2020-03-17 12:14:51 -04:00
Chris Freehill
324c0ca0e5
More general solution to api support hwmon mapping
...
This solution takes into account that some hwmons use
label files to map sensor types. The previous solution
did not take this into account.
Change-Id: I1d6204573cefa8197b2cfe0ffb412b545df3d80a
2020-03-16 11:37:47 -05:00
Evgeny
1be273a1b4
enable tool reloading
2020-03-14 00:13:22 -05:00
rkebichi
190c4b322b
Update merge_jsons.py
2020-03-13 15:43:57 -04:00
Chris Freehill
1d8e16bff2
Fix indexing problem with api support function
...
Also fix potential issue with evaluating functionality of
functions with multiple sub-variants.
Change-Id: I9a09e52f3d3f3181e72578ed1f3bfd0d85516aa3
2020-03-12 11:43:01 -05:00
Sean Keely
9efefe6d52
Handle EBADF when KFD file handle is still open.
...
Signed-off-by: Sean Keely <Sean.Keely@amd.com >
Change-Id: I23d6c87d5729f57c261030c6baeff4c977eef934
2020-03-11 18:52:19 -05:00
Chris Freehill
d9ab846bee
Make rsmitst tests fail quickly if rsmi_init fails
...
Change-Id: I7b5d94b77305b30e08f33e1ddb6e2f089db0431f
2020-03-11 12:13:28 -05:00
Chris Freehill
d54a9484be
Don't assert or re-throw exception caught at top level
...
Instead, return error and let caller deal with it.
Change-Id: I1a55337134b00aa4259af27281b2450fc2252be9
2020-03-11 12:11:29 -05:00
Evgeny
3568ca4dbb
compatibility with pre-pcs rocprofiler version
2020-03-11 11:33:27 -05:00
rkebichi
be6216a749
Update run.sh
...
Parses trace level files
2020-03-10 15:39:25 -04:00
Divya Shikre
ebe7de1f99
libhsakmt: Expose device Unique Id
...
Read device unique id from sysfs and expose it in HsaNodeProperties.
For devices not supported the value will be 0
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com >
Change-Id: I97b8689dfa090971c6876de6feaa97652e28c03d
2020-03-10 10:06:11 -05:00
Evgeny
7965a02680
fixing rocprofiler activity enabling
2020-03-09 21:13:44 -05:00
Evgeny
c1455827b7
activity entry struct fix
2020-03-07 20:35:24 -06:00
Evgeny
d2243ef1ec
pc sampling integration fix
2020-03-07 19:09:54 -06:00
Chris Freehill
70ebe13a89
Fix ennumerator id parser.
...
Fixes SWDEV-226018
Change-Id: I14144cdd316c19fe29dcd70b406a52aac8a741cd
2020-03-06 19:50:35 -05:00
rkebichi
c64a1ae4a6
Create merge_jsons.py
...
Script to merge comma separated list of json files into one
2020-03-06 11:17:13 -05:00
Yong Zhao
4e7b2f2e27
kfdtest: Print a message when there is no GPU
...
This helps the user to troubleshoot the problem.
Change-Id: If6cf42c488097011285252a6c722d3d74c0f7ce7
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com >
2020-03-04 15:00:47 -05:00
Yong Zhao
0e5c4d83e6
kfdtest: Delete MULTI_GPU usage in run_kfdtest.sh
...
It is obsolete.
Change-Id: Ifd137ce1ce8d9133cfa5c8bfd46aaeea461b5aa7
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com >
2020-03-04 15:00:47 -05:00
Evgeny
f69c938f52
json fix for no copies case
...
Change-Id: Ia1fddad50e50a1b5df7d5e6b8b25a2fe9fcdb439
2020-03-03 11:15:55 -06:00
Chris Freehill
a482394263
Correct rsmitst build instructions
...
Change-Id: Ia7dbdd7a489d235c6003badb79f2d0808e18143b
2020-03-02 16:29:10 -05:00
Evgeny
8b63135ced
PC sampling initial bringup
2020-02-28 14:01:40 -06:00
Evgeny
7ecf9ef1e3
dynamic kernel lds size
...
Change-Id: I051b85550d12ca8662127615be7adfb12c5f9585
2020-02-27 17:44:22 -06:00