SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
[ROCm/hip-tests commit: 7a558e2398]
This commit is contained in:
committed by
GitHub
parent
3118439c59
commit
c021b5fe49
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user