SWDEV-272496 - Detect callbacks and force AQL barrier

HIP tests require HIP callbacks to be processed in another thread.
This change will use a thread from HSA signal callbacks to make
sure a HIP callback was done asynchronously.
Also process the callback before changing the status of command

Change-Id: Icef85d0e0f808663882cf6881ff1be3e5eca29ac
This commit is contained in:
German Andryeyev
2021-03-03 17:28:58 -05:00
parent c13f9df42a
commit 7f32d0b425
3 changed files with 32 additions and 7 deletions
+3
View File
@@ -204,6 +204,9 @@ class Event : public RuntimeObject {
//! RTTI internal implementation
virtual ObjectType objectType() const { return ObjectTypeEvent; }
//! Returns the callback for this event
const CallBackEntry* Callback() const { return callbacks_; }
};
/*! \brief An operation that is submitted to a command queue.