SWDEV-505205 - Fix hipStreamLegacy segfault with hipStreamWaitEvent.
Change-Id: I17fdaf7ac323507f99a7c071066944296537489c
[ROCm/clr commit: a05a02e527]
Цей коміт міститься в:
зафіксовано
Jaydeepkumar Patel
джерело
55d4a75016
коміт
12ed697705
@@ -487,7 +487,8 @@ hipError_t hipStreamWaitEvent_common(hipStream_t stream, hipEvent_t event, unsig
|
||||
// If stream is capturing but event is not recorded on event's stream.
|
||||
return hipErrorStreamCaptureIsolation;
|
||||
}
|
||||
if ((waitStream != nullptr) && (eventStream->DeviceId() == waitStream->DeviceId())) {
|
||||
if ((waitStream != nullptr && stream != hipStreamLegacy) &&
|
||||
(eventStream->DeviceId() == waitStream->DeviceId())) {
|
||||
eventStream->GetDevice()->AddSafeStream(eventStream, waitStream);
|
||||
}
|
||||
}
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача