Bill(Shuzhou) Liu
6340176b99
Unit tests for coarse grain utilization counters
...
The unit tests for GFX and Memory activity counters.
Change-Id: I968dabc9ef6de9d335d7f751b290fb713b51a79c
2021-04-14 10:53:55 -04:00
Bill(Shuzhou) Liu
8eec0a7d36
Add energy accumulator counter
...
The energy accumulator counter tracks all energy consumed.
Change-Id: I5b25f817b7802d81c477361447f0ecd7ec02fc61
2021-04-14 10:43:01 -04:00
Bill(Shuzhou) Liu
9bfb9ac297
Add coarse grain utilization counter
...
The coarse grain utilization counter includes GFX and Memory activity.
Change-Id: I5d09976792d3f4a1c1081651fa24ff857016d4c0
2021-04-14 10:40:19 -04:00
Mike Li
d077606e22
Get GPU cache information from KFD
...
Signed-off-by: Mike Li <Tianxinmike.Li@amd.com >
Change-Id: I8dc8c97ae81c3747b7cd88cf2cdb7a9e4694a88d
2021-04-13 10:29:34 -04:00
Kent Russell
c7c2ac5559
rocm_smi.py: Don't try to reset non-AMD GPUs
...
This won't work for obvious reasons, so exit with an error instead of
trying to access a file that doesn't exist and segfaulting
Change-Id: Id1230922fa6e9a19e9394280faad88a43c7d2e34
2021-04-13 08:00:17 -04:00
Kent Russell
b016a8269a
CMakeLists: Add python3 to required packages
...
Signed-off-by: Kent Russell <kent.russell@amd.com >
Change-Id: I434b24d12e92d2f6a6928b7450e74c3898303a44
2021-04-12 11:33:39 -04:00
Rachida Kebichi
7d99e03caf
Merge "SWDEV-263827 Visualize back-dep for wait" into amd-staging
2021-04-12 09:32:28 -04:00
Rachida Kebichi
b61f699020
Merge "SWDEV-263827 Visualize back-dep for wait" into amd-staging
...
[ROCm/rocprofiler commit: 7d99e03caf ]
2021-04-12 09:32:28 -04:00
Bill(Shuzhou) Liu
ee40694cc6
Change the CMake version to 3.15
...
CMake 3.15 or greater is required for gRPC
Change-Id: I15cda7b2bccb2bc1c46b3bb84eb1116a15ce32a4
2021-04-09 15:43:46 -04:00
Evgeny
c4828a9de0
concurrent: enable PmcStopper to end perf counting.
...
Change-Id: I89785277678141e29349e162df10203787050643
2021-04-09 08:06:42 +00:00
Evgeny
867ae7b2dd
concurrent: enable PmcStopper to end perf counting.
...
Change-Id: I89785277678141e29349e162df10203787050643
[ROCm/rocprofiler commit: c4828a9de0 ]
2021-04-09 08:06:42 +00:00
Tony Tye
a97c14abea
Add support for gfx909 and gfx90c
...
Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221
2021-04-08 22:37:30 +00:00
Evgeny
780dfa37d4
cleanup after separating for staging and npi branches
...
Change-Id: Iadd624df21b85f1590e901a8125680743e3281a3
2021-04-08 20:37:47 +00:00
Evgeny
c701f9705c
cleanup after separating for staging and npi branches
...
Change-Id: Iadd624df21b85f1590e901a8125680743e3281a3
[ROCm/rocprofiler commit: 780dfa37d4 ]
2021-04-08 20:37:47 +00:00
Kent Russell
d748d6dce7
CMakelists: Build thunk as static by default
...
This can be overwritten by changing BUILD_SHARED_LIBS=true, but we
default it to static to allow for merging into ROCr
Change-Id: Ic286ef7903a5bc788fe3b84bb13b15bdd3a6f60b
2021-04-08 14:38:20 -04:00
Evgeny
82d7bb2145
SWDEV-265287 : integration spmltgen.py script
...
Change-Id: Ief3e93225fb6660e72a04e4bd4b379262b73c914
2021-04-08 10:04:39 -04:00
Evgeny
8c3ce30c94
SWDEV-265287 : integration spmltgen.py script
...
Change-Id: Ief3e93225fb6660e72a04e4bd4b379262b73c914
[ROCm/rocprofiler commit: 82d7bb2145 ]
2021-04-08 10:04:39 -04:00
Divya Shikre
aaf2120117
Update performance determinism api as per the modified sysfs interface.
...
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com >
Change-Id: Ib0ec5128819644a2ff6c916da9194a7fe1dad795
2021-04-07 16:38:48 -04:00
Rachida Kebichi
429a458cae
SWDEV-272485 append to CMAKE_CXX_FLAGS instead of override
...
Change-Id: I0c4364fa800a249d77ec7abd4e73556a8df1ef99
2021-04-06 17:16:28 -04:00
Rachida Kebichi
894412dcff
SWDEV-272485 append to CMAKE_CXX_FLAGS instead of override
...
Change-Id: I0c4364fa800a249d77ec7abd4e73556a8df1ef99
[ROCm/rocprofiler commit: 429a458cae ]
2021-04-06 17:16:28 -04:00
Rachida Kebichi
ff4cabdf4e
SWDEV-272488 append to CMAKE_CXX_FLAGS instead of override
...
Change-Id: Ib5e6856944bf54b2161cba9ac24adda57fdf8a9a
[ROCm/roctracer commit: 8c3bd6817e ]
2021-04-06 15:45:44 -04:00
Rachida Kebichi
8c3bd6817e
SWDEV-272488 append to CMAKE_CXX_FLAGS instead of override
...
Change-Id: Ib5e6856944bf54b2161cba9ac24adda57fdf8a9a
2021-04-06 15:45:44 -04:00
Bill(Shuzhou) Liu
da480b4589
Add support for the HBM temperature
...
The rsmi_dev_temp_metric_get() can also support the HBM
temperatures which is retrieved from gpu_metrics.
Change-Id: I96b979296e90cf881523627b41b1a02849676416
2021-04-05 15:55:55 -04:00
Kent Russell
66da1c9cd2
kfdtest.exclude: Add some more SP3-shader tests to GFX10 exclude
...
These are failing as well, due to the SP3 shader merge. Blacklist them
as well to avoid more segfaults
Signed-off-by: Kent Russell <kent.russell@amd.com >
Change-Id: I07e142a1aad9b2a5304230f333eeaf4392bea4b7
2021-04-05 13:50:15 -04:00
Roberto Di Remigio
b6d613d284
Treat link flags as a string, rather than a list
...
Fixes linking failure with gold
Change-Id: Ie9d2a7f68e71a0a793b041d57b8078ead22a93c8
Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com >
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com >
2021-04-05 13:18:33 -04:00
Rachida Kebichi
a80f8e6e03
SWDEV-263827 Visualize back-dep for wait
...
Change-Id: Ic8a00c6ec583c5b90fcd0a1d19c5a51ce6303449
2021-04-05 09:44:25 -04:00
Rachida Kebichi
0b1ad281f7
SWDEV-263827 Visualize back-dep for wait
...
Change-Id: Ic8a00c6ec583c5b90fcd0a1d19c5a51ce6303449
[ROCm/rocprofiler commit: a80f8e6e03 ]
2021-04-05 09:44:25 -04:00
Evgeny Shcherbakov
95f15bf72c
Merge "fxing gfxip label" into amd-staging
...
[ROCm/roctracer commit: 26fd08feae ]
2021-04-03 01:31:34 -04:00
Evgeny Shcherbakov
26fd08feae
Merge "fxing gfxip label" into amd-staging
2021-04-03 01:31:34 -04:00
Sean Keely
243e29ba8e
Remove emulator SRAMECC override controls.
...
Change-Id: Iea9e7870dbf517032f34cebec673c90226b96960
2021-04-02 02:11:05 -04:00
Sean Keely
5bd153974d
Revert SVM and XNACK support.
...
KFD is not ready yet.
Change-Id: I61deb292ddb92185d33504c2115169888d56e211
2021-04-02 02:10:59 -04:00
Ramesh Errabolu
25f3dc305f
Override Cpu-Gpu link-weight for Alebaran until a proper fix is available
...
Change-Id: I1fbc38b788f71cc9c9fc62295223286004689bf9
2021-04-02 02:10:54 -04:00
Sean Keely
7333c77e22
Squash merge of cfreehil/amd-temp-gfx90a onto amd-staging.
...
Includes some workarounds and HMM.
Conflicts:
opensrc/hsa-runtime/core/runtime/amd_topology.cpp
opensrc/hsa-runtime/core/util/flag.h
Change-Id: I22976f07964a43dbb228a6231777dbd599112b8d
2021-04-02 02:10:15 -04:00
Sean Keely
4197461b7f
Correct hsa_agent_iterate_isas return code for CPUs.
...
When no isa's are available no callbacks should be invoked. This
is not an error and should return success.
Change-Id: Ie4048aa8cbe5c3fdf5431f6a865021549ecf8a13
2021-04-01 00:08:22 -04:00
Sean Keely
45fbe5b192
Block ROCm 4.1+ running against 4.0 and prior kfd.
...
Sramecc is misreported in kfd 4.0 and prior. To prevent possible
corruption due to d16 instructions, deny use of gfx906 with older
kfds and correct misreport for gfx908. Denial of gfx906 may be
overridden by setting HSA_IGNORE_SRAMECC_MISREPORT=1.
Change-Id: I7d5c3a716fad01c348f8b88cd508cedbf914c989
2021-04-01 00:03:32 -04:00
Rachida Kebichi
d78eaf664f
SWDEV-255637 support for hsa_amd_memory_async_copy_rect
...
Change-Id: I5db6484c30427712c56b59862e748118a3f079c2
[ROCm/roctracer commit: 06271806d4 ]
2021-03-31 10:02:06 -04:00
Rachida Kebichi
06271806d4
SWDEV-255637 support for hsa_amd_memory_async_copy_rect
...
Change-Id: I5db6484c30427712c56b59862e748118a3f079c2
2021-03-31 10:02:06 -04:00
Cole Nelson
f990d775b7
CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
...
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
Change-Id: If06e8b7b57ad12f22c1970622d241a42083d575e
2021-03-30 15:39:47 -04:00
Cole Nelson
71f75b5983
Merge "CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install" into amd-staging
2021-03-30 15:39:27 -04:00
Cole Nelson
3c5cb3ae00
Merge "CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install" into amd-staging
...
[ROCm/rocprofiler commit: 71f75b5983 ]
2021-03-30 15:39:27 -04:00
Cole Nelson
4171d2be0d
Merge "CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install" into amd-staging
...
[ROCm/roctracer commit: 3018150e53 ]
2021-03-30 15:37:50 -04:00
Cole Nelson
3018150e53
Merge "CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install" into amd-staging
2021-03-30 15:37:50 -04:00
Rachida Kebichi
28faba40a7
SWDEV-271503 Fixed core dump
...
Change-Id: Ia582a27482581c3b81c42da0add9f6743898da6c
[ROCm/roctracer commit: ad5b463912 ]
2021-03-30 14:06:56 -04:00
Rachida Kebichi
ad5b463912
SWDEV-271503 Fixed core dump
...
Change-Id: Ia582a27482581c3b81c42da0add9f6743898da6c
2021-03-30 14:06:56 -04:00
Evgeny
1eeb601150
fxing gfxip label
...
Change-Id: Ic22d828b38da8afc5a232c2f2eb5de5410844b70
[ROCm/roctracer commit: 2287da5e28 ]
2021-03-28 08:11:58 +00:00
Evgeny
2287da5e28
fxing gfxip label
...
Change-Id: Ic22d828b38da8afc5a232c2f2eb5de5410844b70
2021-03-28 08:11:58 +00:00
Cole Nelson
df5618cd66
CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
...
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: I1eeb778ac58a2c4b588244adc3112ecb1aa15217
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
[ROCm/roctracer commit: 16d4a79562 ]
2021-03-27 15:36:02 -07:00
Cole Nelson
16d4a79562
CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
...
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: I1eeb778ac58a2c4b588244adc3112ecb1aa15217
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
2021-03-27 15:36:02 -07:00
Cole Nelson
35c1b8bff2
CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
...
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: Ibf4d6446e00eb119d1ea88d81da144e63194f615
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
2021-03-27 15:33:09 -07:00
Cole Nelson
cd0100f98e
CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
...
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: Ibf4d6446e00eb119d1ea88d81da144e63194f615
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
[ROCm/rocprofiler commit: 35c1b8bff2 ]
2021-03-27 15:33:09 -07:00