SWDEV-290160 - Switch to global HSA signals
Runtime can't assign internal HSA signals for HIP events, because HIP application can destroy the HIP stream or signal reuse may occur internally. Switch to global HSA signals for HIP events. Change-Id: Ieaea2d6b039e492b2e7c5112782a8f4e601e50a1
This commit is contained in:
1 والد
b5b1ccc990
کامیت
ce8dad2ecc
7 files changed
+162
-120
No files matched your search
@@ -49,6 +49,7 @@
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
|
||||
namespace amd {
|
||||
@@ -1705,6 +1706,7 @@ class Device : public RuntimeObject {
|
||||
) const {
|
||||
return false;
|
||||
};
|
||||
virtual void ReleaseGlobalSignal(void* signal) const {}
|
||||
|
||||
//! Returns TRUE if the device is available for computations
|
||||
bool isOnline() const { return online_; }
|
||||
|
||||
Reference in new issue
Block a user