Avoid releasing scratch for blit queues
At hsa_shutdown(), scratch_lock_ may be gone. Blit queues don't need it.
Change-Id: Ic132ac8a6be31fb2f0623137115608b0b222f077
[ROCm/ROCR-Runtime commit: 24633c7a85]
This commit is contained in:
committed by
David Yat Sin
orang tua
18d556cba7
melakukan
7b3dbd6d9e
@@ -363,8 +363,9 @@ AqlQueue::~AqlQueue() {
|
||||
}
|
||||
|
||||
Inactivate();
|
||||
agent_->ReleaseQueueMainScratch(queue_scratch_);
|
||||
agent_->ReleaseQueueAltScratch(queue_scratch_);
|
||||
|
||||
if (queue_scratch_.main_queue_base) agent_->ReleaseQueueMainScratch(queue_scratch_);
|
||||
if (queue_scratch_.alt_queue_base) agent_->ReleaseQueueAltScratch(queue_scratch_);
|
||||
|
||||
FreeRegisteredRingBuffer();
|
||||
exception_signal_->DestroySignal();
|
||||
|
||||
Reference in New Issue
Block a user