SWDEV-480209 - Make internal callbacks non-blocking

Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f


[ROCm/clr commit: 683a942364]
This commit is contained in:
Anusha GodavarthySurya
2024-10-28 09:23:25 +00:00
کامیت شده توسط Anusha Godavarthy Surya
والد 16f14e4b00
کامیت 08c92f4793
11فایلهای تغییر یافته به همراه38 افزوده شده و 34 حذف شده
@@ -294,6 +294,9 @@ class HostQueue : public CommandQueue {
//! Get queue status
bool GetQueueStatus() { return isActive_; }
//! Set the force destory to terminate queue without checking last command
void SetForceDestroy(bool forceDestroy) { forceDestroy_ = forceDestroy; }
uint64_t getQueueID() {
return thread_.vdev()->getQueueID();
}
@@ -305,6 +308,7 @@ private:
//! True if this command queue is active
bool isActive_;
bool forceDestroy_ = false; //!< Destroy the queue in the current state
};
class DeviceQueue : public CommandQueue {