mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Detect GPU hangs in flushBcsTask()
This change introduces detection of GPU hangs in flushBcsTask() function. The new code has been covered with ULTs. Related-To: NEO-6681 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b4b1fb97bd
commit
9b2ad0c5df
@@ -30,6 +30,7 @@
|
||||
#include <chrono>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
||||
namespace NEO {
|
||||
class AllocationsList;
|
||||
@@ -227,7 +228,7 @@ class CommandStreamReceiver {
|
||||
this->latestFlushedTaskCount = latestFlushedTaskCount;
|
||||
}
|
||||
|
||||
virtual uint32_t flushBcsTask(const BlitPropertiesContainer &blitPropertiesContainer, bool blocking, bool profilingEnabled, Device &device) = 0;
|
||||
virtual std::optional<uint32_t> flushBcsTask(const BlitPropertiesContainer &blitPropertiesContainer, bool blocking, bool profilingEnabled, Device &device) = 0;
|
||||
|
||||
virtual void flushTagUpdate() = 0;
|
||||
virtual void updateTagFromWait() = 0;
|
||||
|
||||
Reference in New Issue
Block a user