29a10ec919c1dbc2fc99cf6445d0a5dba39ca8f9
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
[ROCm/ROCR-Runtime commit: d5d8c022f1]
描述
无详细信息
语言
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
其它
1.1%