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]
Este commit está contenido en:
cometido por
David Yat Sin
padre
18d556cba7
commit
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();
|
||||
|
||||
Referencia en una nueva incidencia
Block a user