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]
이 커밋은 다음에 포함됨:
Shweta Khatri 작성하고 David Yat Sin가 2024-02-22 14:12:05 +00:00를 커밋함
1 부모 18d556cba7
커밋 7b3dbd6d9e
1 파일이 변경됨
+3 -2
+3 -2
파일 보기
@@ -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();