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
zatwierdzone przez Anusha Godavarthy Surya
rodzic 16f14e4b00
commit 08c92f4793
11 zmienionych plików z 38 dodań i 34 usunięć
@@ -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 {