Adjust the passing value for GPU agent when do max single allocation test

For APU asics, the default configuration size of video memory is
relatively small, while the reserved region becomes larger in recent
generation asics, ratio of max alloc size to the pool size may below
the expected value, so adjust it.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I0e847c4c13e957cf6e811d3f379842619cf53370
이 커밋은 다음에 포함됨:
Yifan Zhang 작성하고 Yifan1 Zhang가 2022-10-05 22:16:58 -04:00를 커밋함
1 부모 7826d4ca2d
커밋 f05770610c
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -233,7 +233,7 @@ void MemoryTest::MaxSingleAllocationTest(hsa_agent_t ag,
}
if (ag_type == HSA_DEVICE_TYPE_GPU) {
EXPECT_GE((float)max_alloc_size/pool_sz, (float)7/8);
EXPECT_GE((float)max_alloc_size/pool_sz, (float)3/4);
}
if (verbosity() > 0) {
std::cout << kSubTestSeparator << std::endl;