SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)

Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
Этот коммит содержится в:
ROCm CI Service Account
2022-09-26 07:39:26 +05:30
коммит произвёл GitHub
родитель e25d5a3038
Коммит 7a558e2398
+2 -2
Просмотреть файл
@@ -44,7 +44,7 @@ Negative/Argument Validation:
#define BUF_SIZE 4096
#define MAX_DEVICES 8
#define MAX_DEVICES 16
typedef struct ipcEventInfo {
@@ -250,7 +250,7 @@ TEST_CASE("Unit_hipIpcEventHandle_Functional") {
return;
}
g_processCnt = shmDevices->count;
g_processCnt = (shmDevices->count > MAX_DEVICES) ? MAX_DEVICES : shmDevices->count;
// Barrier is used to synchronize processes created.
g_Barrier = reinterpret_cast<ipcBarrier_t *> (mmap(NULL, sizeof(*g_Barrier),