SWDEV-333237 - Release command before queing a marker
Change-Id: I5343c4b7ade2dc68efa7454a919a6657726c45d3
[ROCm/clr commit: ddfd919a62]
This commit is contained in:
@@ -113,7 +113,11 @@ void HostQueue::finish() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (nullptr == command || !isCacheFlushed) {
|
||||
if (nullptr != command) {
|
||||
command->release();
|
||||
}
|
||||
// Send a finish to make sure we finished all commands
|
||||
command = new Marker(*this, false);
|
||||
if (command == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user