rocr/dtif: Add ring doorbell for sdma user queue (#1619)
Signed-off-by: Tim Huang <tim.huang@amd.com>
Этот коммит содержится в:
@@ -783,7 +783,8 @@ void BlitSdma<useGCR>::UpdateWriteAndDoorbellRegister(uint64_t curr_index, uint6
|
||||
std::atomic_thread_fence(std::memory_order_release);
|
||||
|
||||
*reinterpret_cast<uint64_t*>(queue_resource_.Queue_DoorBell) = new_index;
|
||||
if (core::Runtime::runtime_singleton_->thunkLoader()->IsDXG()) {
|
||||
if (core::Runtime::runtime_singleton_->thunkLoader()->IsDXG() ||
|
||||
core::Runtime::runtime_singleton_->thunkLoader()->IsDTIF()) {
|
||||
HSAKMT_CALL(hsaKmtQueueRingDoorbell(queue_resource_.QueueId));
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user