SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e25d5a3038
Коммит
7a558e2398
@@ -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),
|
||||
|
||||
Ссылка в новой задаче
Block a user