SWDEV-474159 - Query max LDS in Unit_hipDynamicShared

Change-Id: Ie78613ea1a87d69aff4f764368ea7a1893e021f5


[ROCm/hip-tests commit: 5e26ec0bb1]
Этот коммит содержится в:
Ioannis Assiouras committed 2024-07-17 22:17:20 +01:00
1 родитель 52e29e25ee
Коммит 7ed657c2af
2 files changed
+4 -28

No files matched your search

+4 -7
Просмотреть файл
@@ -163,13 +163,10 @@ TEST_CASE("Unit_hipDynamicShared") {
}
SECTION("test case with float for max LDS size") {
if(IsMi350())
{
testExternShared<float>(1024, 160*1024/sizeof(float));
}else
{
testExternShared<float>(1024, 64*1024/sizeof(float));
}
int maxLDS = 0;
HIP_CHECK(hipDeviceGetAttribute(&maxLDS,
hipDeviceAttributeMaxSharedMemoryPerBlock, 0));
testExternShared<float>(1024, maxLDS/sizeof(float));
}
}