hipEventRecord only needs one lock; remove locked_eventIsReady

[ROCm/clr commit: b2af1820f5]
Dieser Commit ist enthalten in:
Jeff Daily
2019-11-06 15:56:32 +00:00
Ursprung 539d0c2ae3
Commit 39a98df790
3 geänderte Dateien mit 13 neuen und 29 gelöschten Zeilen
-8
Datei anzeigen
@@ -325,14 +325,6 @@ void ihipStream_t::locked_streamWaitEvent(ihipEventData_t& ecd) {
}
// Causes current stream to wait for specified event to complete:
// Note this does not provide any kind of host serialization.
bool ihipStream_t::locked_eventIsReady(hipEvent_t event) {
LockedAccessor_EventCrit_t ecrit(event->criticalData());
return (ecrit->_eventData.marker().is_ready());
}
// Create a marker in this stream.
// Save state in the event so it can track the status of the event.
hc::completion_future ihipStream_t::locked_recordEvent(hipEvent_t event) {