Chris Freehill
64eec4673a
Add support for reading frequency-volt curve data
2019-01-07 10:20:53 -06:00
Chris Freehill
639a4e3503
Add support for reading frequency-volt curva data
2019-01-07 08:44:23 -06:00
Evgeny
2b2a279ce9
hsa memcopy tracking
...
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a
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
3f133beed1
setting source dir to current by dafault
2018-12-27 02:26:09 -06:00
Evgeny
b51cb80f93
adding build.sh and run_test.sh env defaults
2018-12-24 22:25:44 -06:00
Evgeny
e89767690b
adding assertion to run_test.sh
2018-12-23 23:52:05 -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
8b3c63b4ed
hsa test
2018-12-21 12:05:14 -06:00
Evgeny
d75eb95472
HSA tracing domain with HIP MatrixTranspose sample test
2018-12-21 10:53:00 -06:00
Evgeny
7092fb92f5
cosmetic
2018-12-21 00:18:26 -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
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
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
7bf1219daf
renaming test/tool/tool.cpp -> test/tool/tracer_tool.cpp
2018-12-03 09:40:50 -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
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
65d8c3be39
process/thread IDs in API records
2018-11-23 00:09:28 -06:00
Ramesh Errabolu
28c3f9a269
Initialize queue buffer with Invalid Pkt Headers
...
Change-Id: I4166f1359746ee6829b730bac2db358af72ab16e
2018-11-21 19:09:10 -05:00
Mark Searles
8ea836017a
Force object code v2 until v3 is supported
...
Change-Id: I4c2a64bf9bd515686d1f1d90aece2a9ac40e5685
2018-11-21 10:06:08 -08:00
changzhu
c15cf2e9c3
kfdtest: fix SDMACopyParams build error on redhat 7.2 in KFDTestUtilQueue.cpp
...
In file included from /usr/include/c++/4.8.2/algorithm:62:0,
from /home/jenkins/libhsakmt/tests/kfdtest/src/KFDTestUtilQueue.cpp:24:
/usr/include/c++/4.8.2/bits/stl_algo.h: In instantiation of ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<SDMACopyParams*, std::vector<SDMACopyParams> >; _Tp = SDMACopyParams; _Compare = bool (*)(SDMACopyParams&, SDMACopyParams&)]’:
/usr/include/c++/4.8.2/bits/stl_algo.h:2296:78: required from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<SDMACopyParams*, std::vector<SDMACopyParams> >; _Compare = bool (*)(SDMACopyParams&, SDMACopyParams&)]’
/usr/include/c++/4.8.2/bits/stl_algo.h:2337:62: required from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<SDMACopyParams*, std::vector<SDMACopyParams> >; _Size = long int; _Compare = bool (*)(SDMACopyParams&, SDMACopyParams&)]’
/usr/include/c++/4.8.2/bits/stl_algo.h:5499:44: required from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<SDMACopyParams*, std::vector<SDMACopyParams> >; _Compare = bool (*)(SDMACopyParams&, SDMACopyParams&)]’
/home/jenkins/libhsakmt/tests/kfdtest/src/KFDTestUtilQueue.cpp:351:66: required from here
/usr/include/c++/4.8.2/bits/stl_algo.h:2263:35: error: invalid initialization of reference of type ‘SDMACopyParams&’ from expression of type ‘const SDMACopyParams’
while (__comp(*__first, __pivot))
^
/usr/include/c++/4.8.2/bits/stl_algo.h:2266:34: error: invalid initialization of reference of type ‘SDMACopyParams&’ from expression of type ‘const SDMACopyParams’
while (__comp(__pivot, *__last))
^
Change-Id: I0fce0c7e6d0a0ce93b1e6522ee8f216615765568
Signed-off-by: changzhu <Changfeng.Zhu@amd.com >
2018-11-21 17:23:03 +08:00
Chris Freehill
499fcac759
Merge pull request #5 from cfreehill/get_set_pcie
...
Get and set PCIe transaction rate
2018-11-20 16:03:48 -06:00
Oak Zeng
af5b320c47
Add test to allocate SDMA queue on specific engine
...
Change-Id: I5b5140e4119fc01db250d63cca7389cf80ec0d16
Signed-off-by: Oak Zeng <ozeng@amd.com >
2018-11-20 11:17:43 -05:00
Chris Freehill
bc200d205e
Add get and set routines for PCIe bandwidth
2018-11-19 17:01:49 -06:00
shaoyunl
d8009b4fd3
KFDTest: fix failure when run KFDTest on multi-GPU small bar system
...
On small bar multi-gpu system, hsaKmtMemoryMapToGPU will fail due to latest
kernel P2P sanity check. Swith to use hsaKmtMemoryMapToGPUNodes to fix
the failure
Change-Id: Id8b6329d1243df0e908cc9a171b5c7f9156f4a8b
Signed-off-by: shaoyunl <shaoyun.liu@amd.com >
2018-11-19 16:09:31 -05:00
shaoyunl
29b45b8c0a
Thunk: make scratch memory only map to its own GPU
...
Map scratch memory to the GPU that specified when allocate the memory
Change-Id: I788f9ef0dccb63b894a75e75cac5f94a60d7ec48
Signed-off-by: shaoyunl <shaoyun.liu@amd.com >
2018-11-19 10:26:31 -05:00
Sean Keely
8e4177382a
Check max wave scratch limits.
...
HW has limited bits for wave scratch base address stride. Enforcement
prevents programs with larger than supported scratch allocations from
running and clobbering neighboring scratch space.
Change-Id: I574da888e9d1d5e290a9c0025ba13b5ef9f1e5c0
2018-11-16 20:59:20 -05:00
Chris Freehill
9c897ab86d
Add get and set routines for PCIe bandwidth
2018-11-16 15:55:38 -06:00
Sean Keely
269be0be2e
Disable forced explicit selection of public vs internal HSA interfaces.
...
Temporary to reenable OCL builds on TC.
Change-Id: Ia81f2f9a9dd10ae8ce9627313247a586a8711584
2018-11-16 15:26:26 -06:00
Konstantin Zhuravlyov
a447d79430
Fix dynamic relocations:
...
- Process dynamic relocation even if there is
no symbol associated to it.
Change-Id: Iaefee682ee52f5acda8280e5764e6d5fd992774a
2018-11-14 15:25:41 -05:00
eshcherb
8e618d15b1
Update README.md
2018-11-13 19:01:26 -06:00
eshcherb
8a093089a0
Update README.md
2018-11-13 18:52:33 -06:00