Commit Graph

13501 Commits

Author SHA1 Message Date
Evgeny 2b2a279ce9 hsa memcopy tracking
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a
2019-01-07 01:53:27 -06:00
Evgeny 63150d03e1 hsa memcopy tracking
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a


[ROCm/rocprofiler commit: 2b2a279ce9]
2019-01-07 01:53:27 -06:00
Philip Yang b2e026fce3 kfdtest: increase KFDPerformanceTest.P2PBandWidthTest timeout value
KFDPerformanceTest.P2PBandWidthTest[push, push] takes about 3 seconds
on 4 gfx906, the default g_TestTimeout 2 seconds is not enough to wait
for sDMA queue rptr is consumed. Use kfdtest command line option
--timeout=6000, the test is finished and result is reasonable twice as
P2PBandWidthTest[push, none]. Change P2PBandWidthTest wait timeout to 6
seconds.

Add timeout argument to function WaitOnValue, BaseQueue.Wait4PacketConsumption
SDMAQueue.Wait4PacketConsumption, PM4Queue.Wait4PacketConsumption with
default value is g_TestTimeOut.

Change-Id: I0aa04d644339feaeea695e41647ae66568beab9e
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
2019-01-04 12:53:55 -05:00
Kent Russell 666f90440a Add lib requirement in CMake file
Adding it to the DEBIAN/control won't work, since we use CMake to build
it. Add all required packages to the CMakeLists file

Change-Id: Iaf62f42e0f998d66038338fb2cf793d29c790205
2019-01-02 07:50:12 -05:00
Evgeny b79d769227 setting source dir to current by dafault
[ROCm/roctracer commit: 3f133beed1]
2018-12-27 02:26:09 -06:00
Evgeny 3f133beed1 setting source dir to current by dafault 2018-12-27 02:26:09 -06:00
Evgeny 2cb2890091 adding build.sh and run_test.sh env defaults
[ROCm/roctracer commit: b51cb80f93]
2018-12-24 22:25:44 -06:00
Evgeny b51cb80f93 adding build.sh and run_test.sh env defaults 2018-12-24 22:25:44 -06:00
Evgeny c5f3a33980 adding assertion to run_test.sh
[ROCm/roctracer commit: e89767690b]
2018-12-23 23:52:05 -06:00
Evgeny e89767690b adding assertion to run_test.sh 2018-12-23 23:52:05 -06:00
Evgeny 2f374500d7 build/test scripts
[ROCm/roctracer commit: 2a8cfd5679]
2018-12-23 03:23:26 -06:00
Evgeny 2a8cfd5679 build/test scripts 2018-12-23 03:23:26 -06:00
Evgeny 64e0325a0d adding kernel properties
Change-Id: I5d8672400357d5ef5cbfb5023d82f712fdaf7057
2018-12-21 18:02:26 -06:00
Evgeny 2dff8e83f4 adding kernel properties
Change-Id: I5d8672400357d5ef5cbfb5023d82f712fdaf7057


[ROCm/rocprofiler commit: 64e0325a0d]
2018-12-21 18:02:26 -06:00
Evgeny ed40c25913 hsa test
[ROCm/roctracer commit: 8b3c63b4ed]
2018-12-21 12:05:14 -06:00
Evgeny 8b3c63b4ed hsa test 2018-12-21 12:05:14 -06:00
Evgeny 048ad38c31 HSA tracing domain with HIP MatrixTranspose sample test
[ROCm/roctracer commit: d75eb95472]
2018-12-21 10:53:00 -06:00
Evgeny d75eb95472 HSA tracing domain with HIP MatrixTranspose sample test 2018-12-21 10:53:00 -06:00
Evgeny c9e2125435 cosmetic
[ROCm/roctracer commit: 7092fb92f5]
2018-12-21 00:18:26 -06:00
Evgeny 7092fb92f5 cosmetic 2018-12-21 00:18:26 -06:00
Evgeny 7352dc5af9 dynamic runtime loading
[ROCm/roctracer commit: 9dd17cd351]
2018-12-20 20:21:37 -06:00
Evgeny 9dd17cd351 dynamic runtime loading 2018-12-20 20:21:37 -06:00
Evgeny d08e240928 intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130
2018-12-20 09:41:36 -06:00
Evgeny 5745d01e9c intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130


[ROCm/rocprofiler commit: d08e240928]
2018-12-20 09:41:36 -06:00
Jenkins 5727940fba Merge 'master' into 'amd-master'
Change-Id: I029becb8a8d7d69e01c23362e8de982f0802dd7b
2018-12-20 04:09:48 -06:00
Chris Freehill 3289fc6073 Merge pull request #7 from cfreehill/master
Handle case where PCIe information is not implemented in system
2018-12-19 17:33:01 -06:00
Chris Freehill 5e6424cab3 Handle case where PCIe information is not implemented in system
Also add a new error code for this.
2018-12-19 17:24:27 -06:00
Evgeny ea0a1110dc minor changes
Change-Id: I16444de8c5d83a9f33392ac870d2fc188978ab54
2018-12-18 09:51:47 -06:00
Evgeny c3c9815c49 minor changes
Change-Id: I16444de8c5d83a9f33392ac870d2fc188978ab54


[ROCm/rocprofiler commit: ea0a1110dc]
2018-12-18 09:51:47 -06:00
Yong Zhao 81b8815e1a Add -fPIC flag when building sp3 library
This will support the sp3 library built on one gcc version to be
compatible with another gcc version.

Change-Id: If67714bd63376dc781c56ed025be335fe54b2ba5
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2018-12-13 18:32:23 -05:00
Eric Huang 8ee93b3187 libhsakmt: add RAS support v2
RAS feature enabling bit and errors return are implemented in
existed topology and event mechanism.

v2: change library interface.

Change-Id: I75807c080b5b26e8115240b05b3d7016cb05a31a
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2018-12-13 10:17:12 -05:00
Kent Russell bcc348e3b9 kfdtest: Add gfx900/gfx906 IDs to run_kfdtest.sh
Change-Id: Ib6ee418a432d1de79e2306b54d702132de3d06c5
2018-12-12 08:38:01 -05:00
Kent Russell 53439669d9 libhsakmt: Add new gfx900 and gfx906 GPU IDs
Change-Id: I93b2b845c3edb2da55235a56516a851145745988
2018-12-12 08:36:40 -05:00
Eric Huang 29d11d02e8 Revert "libhsakmt: add RAS support"
This reverts commit 1fbe010354.

Change-Id: I739b17e057f2a8a0f4375741955209d2477c704a
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2018-12-08 19:42:33 -05:00
Chris Freehill 85cc754a83 Merge pull request #6 from cfreehill/master
Add rsmi_version_get_function()
2018-12-07 13:14:43 -06:00
Chris Freehill 5a9a729b31 Add rsmi_version_get() function
Also, modify CMakeLists.txt to use git tags to determine the
shared library version for the SONAME and the ROCm build for the
package name.
2018-12-06 13:48:59 -06:00
Kent Russell 54807526b9 Add more SDMA-related tests to SDMA_BLACKLIST
These tests all make use of an SDMAQueue in one way or another, so add
them to the SDMA_BLACKLIST to be 100% certain

Change-Id: Ic29e073c2f46249f3e5918145b13d276aec7bb33
2018-12-06 14:07:50 -05:00
Kent Russell aa7c13264a Add ZeroInitializationVram test to SDMA blacklist
This test uses SDMA, so add it to the SDMA list

Change-Id: I2dc2b0c4328e38e593d455de2103ebe1ef0adbc2
2018-12-06 11:14:26 -05:00
Kent Russell 3a2ec0111e Temporarily remove SDMA tests from gfx906
SDMA is being flaky, so remove SDMA tests from it for now

Change-Id: Ia3612566813f925804ab90d6235520da7cc65926
2018-12-05 08:41:16 -05:00
Evgeny 56a8addba4 renaming test/tool/tool.cpp -> test/tool/tracer_tool.cpp
[ROCm/roctracer commit: 7bf1219daf]
2018-12-03 09:40:50 -06:00
Evgeny 7bf1219daf renaming test/tool/tool.cpp -> test/tool/tracer_tool.cpp 2018-12-03 09:40:50 -06:00
Evgeny d95635dce0 trace HSA API args
[ROCm/roctracer commit: cb8334f4d5]
2018-12-03 08:29:29 -06:00
Evgeny cb8334f4d5 trace HSA API args 2018-12-03 08:29:29 -06:00
Evgeny 2ad478423e CPACK_PACKAGING_INSTALL_PREFIX fix
Change-Id: If8f428a5f8b1780e33ef3fe0e55d47f07ce18c4d
2018-12-01 22:19:01 -06:00
Evgeny 5af9ea4e72 CPACK_PACKAGING_INSTALL_PREFIX fix
Change-Id: If8f428a5f8b1780e33ef3fe0e55d47f07ce18c4d


[ROCm/rocprofiler commit: 2ad478423e]
2018-12-01 22:19:01 -06:00
Evgeny 6d9d1ccb24 HSA API callbacks and hsa test
[ROCm/roctracer commit: 8f4cece27e]
2018-11-28 12:36:11 -06:00
Evgeny 8f4cece27e HSA API callbacks and hsa test 2018-11-28 12:36:11 -06:00
Kent Russell 381dba3932 Remove SDMAConcurrentCopies from gfx906 execution
This is intermittently causing VM faults and excessive evictions, which
causes the rest of the tests to fail. Take it out for now until someone
can investigate

Change-Id: I9c43890bc9f03a4a31efbc18df0df5e40a232c58
2018-11-28 10:01:35 -05:00
Eric Huang 1fbe010354 libhsakmt: add RAS support
RAS feature enabling bit and errors return are implemented in
existed topology and event mechanism.

Change-Id: I9b018bba80cf4a6998e42a7bff64318c689b1d2a
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2018-11-23 11:42:34 -05:00
Evgeny 5a2cf2fea8 process/thread IDs in API records
[ROCm/roctracer commit: 65d8c3be39]
2018-11-23 00:09:28 -06:00