rocr: try defaultSignal for intercept_queue

if interrupt is not supported

Signed-off-by: Flora Cui <flora.cui@amd.com>


[ROCm/ROCR-Runtime commit: 8cf4b7fc05]
Tá an tiomantas seo le fáil i:
Flora Cui údaraithe agus Yat Sin, David tiomanta 2025-05-21 09:37:47 -04:00
1 tuismitheoir 69505ab60c
tiomantas 89e5075ce0
1 comhad athraithe
+1 -1
@@ -136,7 +136,7 @@ InterceptQueue::InterceptQueue(std::unique_ptr<Queue> queue)
// Match the queue's signal ABI block to async_doorbell_'s
// This allows us to use the queue's signal ABI block from devices to trigger async_doorbell while
// host side use jumps directly to the queue's signal implementation.
if (core::Runtime::runtime_singleton_->flag().enable_dtif())
if (!core::g_use_interrupt_wait)
async_doorbell_ = new DefaultSignal(DOORBELL_MAX);
else
async_doorbell_ = new InterruptSignal(DOORBELL_MAX);