Files
rocm-systems/tests/kfdtest/src
Kent Russell d5d8c022f1 kfdtest: Adjust KFDEvictTest memory size
We were hitting memory map errors and segfaults when trying to use 7/8
VRAM on certain cards (dmesg showing "Failed to map to gpu 0/1"), as the
original check didn't see if this would exceed the GTT size.
Allocate the smaller of 1/3 of SRAM or 7/16 of VRAM (7/8 / 2) for the
tests

Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: Ic11a5cee058535418eef903a28846e00e1839969
2021-09-29 13:56:54 -04:00
..
2018-08-23 06:20:17 -04:00
2018-08-23 06:20:17 -04:00
2021-03-02 07:48:22 -05:00
2019-07-09 11:39:38 -04:00
2019-07-09 11:39:38 -04:00
2018-08-14 08:17:57 -04:00
2018-08-23 06:20:17 -04:00
2018-08-23 06:20:17 -04:00
2018-08-23 06:20:17 -04:00
2018-08-14 08:17:57 -04:00
2020-01-03 15:19:56 -05:00
2021-03-02 07:48:22 -05:00
2018-08-23 06:20:17 -04:00
2019-02-15 15:03:32 -05:00
2021-04-16 00:12:48 -04:00
2021-04-16 00:12:48 -04:00
2021-04-16 00:12:48 -04:00
2021-04-16 00:12:48 -04:00
2018-08-23 06:20:17 -04:00
2019-11-15 15:27:21 -05:00
2019-11-15 15:27:21 -05:00
2018-08-23 06:20:17 -04:00
2018-07-31 00:00:34 -04:00
2018-07-31 00:00:34 -04:00