SWDEV-276210 - Honor scopes for hipEventRecord
Honor hipEventReleaseToDevice and hipEventReleaseToSystem flags.
hipEventRecord would flush caches if no release flags are provided. To
change this behavior set ROC_EVENT_NO_FLUSH=1
Change-Id: I03e41b515b1d0cf963b0c2d5b9901b09e71a0e59
[ROCm/clr commit: f320acb797]
This commit is contained in:
@@ -208,7 +208,7 @@ void Stream::destroyAllStreams(int deviceId) {
|
||||
|
||||
// ================================================================================================
|
||||
void iHipWaitActiveStreams(amd::HostQueue* blocking_queue, bool wait_null_stream) {
|
||||
amd::Command::EventWaitList eventWaitList;
|
||||
amd::Command::EventWaitList eventWaitList(0);
|
||||
{
|
||||
amd::ScopedLock lock(streamSetLock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user