SWDEV-240806 - Release resources in Command::terminate for HIP
We do not want to release resources during setStatus in HIP because of Graphs Change-Id: Idc7b188ab5f8be6975ea91005dd2bbf177401f8c
Dieser Commit ist enthalten in:
committet von
Maneesh Gupta
Ursprung
c49f1069ab
Commit
133287f31f
@@ -145,7 +145,9 @@ bool Event::setStatus(int32_t status, uint64_t timeStamp) {
|
||||
if (status <= CL_COMPLETE) {
|
||||
// Before we notify the waiters that this event reached the CL_COMPLETE
|
||||
// status, we release all the resources associated with this instance.
|
||||
releaseResources();
|
||||
if (!IS_HIP) {
|
||||
releaseResources();
|
||||
}
|
||||
|
||||
activity_.ReportEventTimestamps(command());
|
||||
// Broadcast all the waiters.
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren