SWDEV-427356 - Workaround to fix a bug that causes soft hang of cooperative group tests

Change-Id: I57e2b51acc9443c1bd036f3d0d5c047989ceef82
Этот коммит содержится в:
Sourabh Betigeri
2023-10-30 17:35:12 -07:00
коммит произвёл Rakesh Roy
родитель 6196d105b3
Коммит 559b335208
+6 -2
Просмотреть файл
@@ -241,8 +241,12 @@ TEST_CASE("Unit_Grid_Group_Sync_Positive_Basic") {
}
auto loops = GENERATE(2, 4, 8, 16);
const auto blocks = GenerateBlockDimensions();
const auto threads = GenerateThreadDimensions();
// Launch params for this test are hardcoded as a workaround for an issue reported
// SWDEV-429791. When fixed, please enable calls to GenerateBlock/ThreadDimensions()
const auto blocks = GENERATE_COPY(
dim3(5, 5, 5), dim3(330, 1, 1), dim3(1, 330, 1), dim3(1, 1, 330));
const auto threads = GENERATE_COPY(
dim3(16, 8, 8), dim3(32, 32, 1), dim3(64, 8, 2), dim3(16, 16, 3));
if (!CheckDimensions(device, sync_kernel, blocks, threads)) return;
INFO("Grid dimensions: x " << blocks.x << ", y " << blocks.y << ", z " << blocks.z);
INFO("Block dimensions: x " << threads.x << ", y " << threads.y << ", z " << threads.z);