SWDEV-314307 - hipStreamWaitEvent to wait on remote IPC events

Change-Id: Id97524ae9bc86d38376af2b0240f10d0dd5cc584


[ROCm/clr commit: bafc5bb30f]
Tá an tiomantas seo le fáil i:
ajay údaraithe agus Ajay tiomanta 2022-01-19 20:10:02 +00:00
1 tuismitheoir 3ba48819a1
tiomantas a4e46d09e2
3 comhad athraithe
+13 -21

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -430,6 +430,7 @@ void WaitThenDecrementSignal(hipStream_t stream, hipError_t status, void* user_d
int offset = data->previous_read_index % IPC_SIGNALS_PER_EVENT;
while (data->shmem->read_index < data->previous_read_index + IPC_SIGNALS_PER_EVENT &&
data->shmem->signal[offset] != 0) {
amd::Os::sleep(1);
}
delete data;
}