Commit Graph

8920 Commits

Author SHA1 Message Date
eshcherb 0e8c410ef3 Update README.md 2019-12-18 19:53:25 -06:00
Yong Zhao 22e9ef7303 libhsakmt: Add the perf counter support for gfx1012
Change-Id: I55d68a77928617edaabd33ae0807bf23f739c8de
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-18 20:49:36 -05:00
Ramesh Errabolu d015d78de3 Support the building and packaging of legacy ROCr tools by itself
Change-Id: I2247bf7a46ee93495340f7b2603b09dc6b667443
2019-12-18 19:20:03 -06:00
Evgeny f4e3e457d9 removing private header roctracer_roctx.h from release package 2019-12-18 19:16:34 -06:00
Yong Zhao 44db5cb011 kfdtest: Enable KFDExceptionTest on gfx906 and gfx1xxx series
KFDExceptionTest on those platform is passing.

Change-Id: I328ee4fd4ff5b339e560f2f79e754fd34459210a
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-18 17:48:16 -05:00
Kent Russell 8b14ea2e83 kfdtest.exclude: Remove BasicCuMaskingEven from gfx908
The initial baseline measurements are proving inconsistent, which
results in the test failing more often with different variant rates

Change-Id: I1f4e04bf7d615cf39de9605bd5141a997b22cdfc
2019-12-18 14:24:53 -05:00
Kent Russell 57b42045d0 Set package name explicitly
Instead of letting CPack generate the filename according to
CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME},
set the package name ourselves. Also take the change to fix the name of
hsakmt-dev to hsakmt-devel for RPM, since that's their convention

Previous packaging format:
hsakmt-roct-1.0.9-229-g2144854-Linux.deb
hsakmt-roct-1.0.9-229-g2144854-Linux.rpm
hsakmt-roct-dev-1.0.9-229-g2144854-Linux.deb
hsakmt-roct-dev-1.0.9-229-g2144854-Linux.rpm

New format:
hsakmt-roct-1.0.9-292-gc66f8cf.x86_64.deb
hsakmt-roct-1.0.9-292-gc66f8cf.x86_64.rpm
hsakmt-roct-dev-1.0.9-292-gc66f8cf.x86_64.deb
hsakmt-roct-devel-1.0.9-292-gc66f8cf.x86_64.rpm

Change-Id: I4fc4e0fd2eafd25669c1cfffb39860e25a0b645c
Signed-off-by: Kent Russell <kent.russell@amd.com>
2019-12-18 12:21:33 -05:00
Konstantin Zhuravlyov 096e715629 Switch to llvm monorepo
Change-Id: Ibfe045afd811d36521486573168aecd06279ccb6
2019-12-17 22:55:20 -05:00
Yong Zhao f7c0172385 kfdtest: Rename two exception test cases
The old names are not accurate enough and we rename them according to
their corresponding fault types.

Change-Id: Icf4d52ba0ab9d49af5d912a0feb82665b1e8d344
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-17 19:46:33 -05:00
Yong Zhao 1c2c5a7b9a kfdtest: Delete two useless exception tests
The InvalidPPR* tests are only useful for gfx801 right now, on which
they won't trigger exceptions. So they are not relevent in the
KFDExceptionTest category. In addition, given AccessPPRMem already tests
the PPR memory functionality, we can just delete those two tests.

Change-Id: Id5c6e23c4c0ce47a4f04e9e1f0fa9083e0a9d0e0
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-17 19:37:14 -05:00
Yong Zhao 10ffc63d7b kfdtest: Add AllQueues test
This puts all CP and SDMA queues in a single test, which is
currently missing.

Change-Id: I98bf58df1be65fe9daf6311c016a48569a8ab674
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-17 19:25:14 -05:00
Evgeny a50bbaef5d fixing stat file names eexpression
Change-Id: I4b99c4bef08fe31a4ab5c8e7167b49d8cd62d79b
2019-12-17 11:39:52 -06:00
Wilfried Holzke a134847069 Added documentation for the new env var.
Change-Id: I0407a5dd36e91a1ea205ce4dda9a7fca906e1266
2019-12-16 10:38:47 -06:00
Wilfried Holzke 12736c6fd8 Added env var to set target.lst
Change-Id: Ie6aefba6ef79360e65d4a64a6be1ec50e59b5741
2019-12-16 10:37:33 -06:00
Evgeny 71eca27ffa removing LD_PRELOAD for hip trace as the HIP library is now loading statically
Change-Id: I032c73feb9e8426f5b2cd5bd930e7160c3b07294
2019-12-13 01:55:34 -06:00
Chris Freehill 4c22962024 Import PAL version of addrlib with initial gfx1xxx support
Change-Id: I439930a5cbf5b13a359ec164e75c6828af8c668d
2019-12-12 21:38:01 -06:00
Evgeny 23a1d54acf renaming libmcwamp_hsa to libmcwamp; force loading of roctx library; 2019-12-12 19:03:26 -06:00
Evgeny 31790cc69d LD_PRELOAD interference fixed
Change-Id: Ib44aa28a71326900f5a71bbb37dbd8049cc3e3a2
2019-12-12 11:41:00 -06:00
Evgeny b0d56ba0eb tracing on start option
Change-Id: Ie7a85da4fd865fbabd6b38ac1d12977ff2684114
2019-12-11 14:41:51 -06:00
Evgeny b5b45f4414 adding delay -1 to rate controll as trace start disabled 2019-12-11 13:57:23 -06:00
Eric Huang caa744944e kfdtest: change baseline in BasicCuMaskingEven
To keep normal performance, we have to use symmetrical cu masks
based on shader engines. So change baseline from 1 cu to 1 cu
per SE.

Change-Id: I9e83a87fb670bb406f7983714fa0d8ab673609eb
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2019-12-11 14:48:55 -05:00
Evgeny 28e59eb0da hcc library loading workaround
Change-Id: I8b383f901235cfdfaba612a4effa4b9fcf12104d
2019-12-10 06:40:09 -06:00
Evgeny 389cb50854 trace parameters fix
Change-Id: I5cd8c897b9982f9abc9e36c18a4a488bd65fbd30
2019-12-10 04:33:29 -06:00
Sean Keely 0a43a107b1 Initial GWS queue support.
Queues should transition to ref counting for all queues eventually.
That cleanup will be part of shared queue pooling support.

Change-Id: I217ff5d573156678b9559da6fb81baa8cd31c617
2019-12-09 21:21:17 -05:00
Chris Freehill 9b0cd9e428 Fix for running rocminfo on wider variety of CPUs
Change-Id: I7acc46d2fec97ae1026643f79e59dd632444ce2e
2019-12-09 14:59:57 -06:00
Chris Freehill 831f3ab124 Update README to include instruction to fetch git tags
Also, slight reformatting.

Change-Id: I7c35343556e48cadccd266b41465fb5ea04ace29
2019-12-09 14:51:53 -06:00
Chris Freehill 2afaae2fbe Require >= CMake3.5 instead of 2.8
Change-Id: I5e0045fad2ecc028c2dcb9fd78805dfb42a9e2ed
2019-12-09 11:57:09 -06:00
Evgeny 0316b23df0 enabling of trace disable for HIP-VDI 2019-12-08 12:38:19 -06:00
Evgeny e606af1499 corremation id initialization fix 2019-12-08 12:11:50 -06:00
Ramesh Errabolu 144017e148 Add package dependencies for Images and Tools
Change-Id: Id77ba0e81d3b3e872153cdd7680338dd70319026
2019-12-06 16:38:21 -06:00
Evgeny c58f1f411c hcc corr id wait enabled by default 2019-12-05 18:13:30 -06:00
Evgeny 9d37542470 lib onload trace 2019-12-05 18:08:17 -06:00
Evgeny 76f85f8265 onload trace 2019-12-05 17:59:31 -06:00
Evgeny 7b3ce9a616 porting to clang 2019-12-05 11:23:18 -06:00
eshcherb 5a76e40d43 Update LICENSE 2019-12-04 16:34:23 -06:00
Evgeny b74ae2f62d kfd trace rocprof integration
Change-Id: Ie1f1679f50a973d071b81f3cf9fca570da9f12c3
2019-12-03 09:47:58 -06:00
Evgeny 8475e25e7a kfd trace fix: disbale recursive callback; disable open/close API tracing; 2019-12-03 09:43:50 -06:00
Yong Zhao 8f140fc03d kfdtest: Add some logs to Atomics test
This will help us triage the unexpected hangs on the farm systems.
Meanwhile, simplify the logic.

Change-Id: Ie50b97a34cb86891720dce11f2d178bff9aa2cd5
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-02 12:56:03 -05:00
Jonathan Kim 8b01a1c4c5 add queue snapshot test
adds api and test to get newly create queue snapshot per ptraced process.

Change-Id: Ife97123a5b930e837ccaa386801145ef23c2cc2c
Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
2019-12-02 11:56:04 -05:00
Yong Zhao ad76ffd544 kfdtest: Declare SetUpTestCase() to be public
SetUpTestCase() and TearDownTestCase() are declared as protected,
preventing us from using TEST_P().

Change-Id: I1d049a475a1b3bd44b5f96305a48751b90d572ce
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-12-02 11:38:18 -05:00
Evgeny 7138c5787b enabling hip id wait for HIP-VDI 2019-11-27 19:39:32 -06:00
Evgeny 3bc5beb480 adding sys|roctx test 2019-11-27 19:16:27 -06:00
Evgeny 0560d99d0f hip_vdi: disabling calllback/activity disable 2019-11-27 19:10:53 -06:00
Evgeny c8eb0641bf sgpr/vgpr reported sizes in terms of registers; lds size in bytes;
Change-Id: Id527687cc075a4e85ea4d0063ed8f336e34d2454
2019-11-27 15:19:14 -06:00
Oak Zeng 0b71bbb787 Support XGMI optimized SDMA queue
Change-Id: I6ad62fc94a9838df505879b1ddaccfeb9881a6e8
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-11-26 21:42:47 -05:00
Evgeny e09d753ef7 enabling of KFD API callbacks to MatricTranspose_test 2019-11-26 15:28:54 -06:00
Robert Gregory c13375cd45 Initial empty repository 2019-11-26 10:10:15 -05:00
Yong Zhao 4daa25fceb kfdtest: Merge the two largest buffer test helper functions
This is cleaner.

Change-Id: I7740f3e0f93a63b35fefc3cb69712dfad68df552
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-25 18:45:23 -05:00
Yong Zhao b6cefa7bda kfdtest: Split BigBufferStressTest into two smaller tests
The previous BigBufferStressTest has too much stuff and takes a long
time to run. By separating largest*BufferTest out into other
tests, we dramatically reduce the time to run BigBufferStressTest and
therefore make reproducing issues much easier.

Meanwhile, rename the test to BigSysBufferStressTest to express more
information.

Change-Id: I5911f113c0bd50627ee6d84bbb4f2972cbed8886
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-25 18:28:17 -05:00
Yong Zhao cbe21fa261 kfdtest: Remove the queue submission in BigBufferStressTest
In order to accommodate the flaky queue submission under memory
shortage scenarios, BigBufferStressTest has become very much a hack,
undermining its purpose of testing the basic memory related operations.

Therefore, remove the queue submission part. The EvictTest should serve
the purpose of testing the memory and queue submission functionalities
when memory eviction happens.

Change-Id: I3c3603a0e834267eccb72f46efeabe1e053c8fc5
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-25 18:25:23 -05:00