mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: Reset kernelWithAssertAppended flag
On new append calls, reset flag if previous submissions are completed. Related-To: NEO-16184 Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cf35f8b40e
commit
9cccbcabe1
@@ -598,6 +598,13 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
||||
}
|
||||
return isAnyDirectSubmissionEnabledResult;
|
||||
}
|
||||
|
||||
bool testTaskCountReady(volatile TagAddressType *pollAddress, TaskCountType taskCountToWait) override {
|
||||
if (testTaskCountReadyReturnValue.has_value()) {
|
||||
return *testTaskCountReadyReturnValue;
|
||||
}
|
||||
return BaseClass::testTaskCountReady(pollAddress, taskCountToWait);
|
||||
}
|
||||
std::vector<std::string> aubCommentMessages;
|
||||
|
||||
BatchBuffer latestFlushedBatchBuffer = {};
|
||||
@@ -653,6 +660,7 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
||||
std::optional<WaitStatus> waitForTaskCountWithKmdNotifyFallbackReturnValue{};
|
||||
std::optional<WaitStatus> waitForTaskCountReturnValue{};
|
||||
std::optional<SubmissionStatus> flushReturnValue{};
|
||||
std::optional<bool> testTaskCountReadyReturnValue{};
|
||||
CommandStreamReceiverType commandStreamReceiverType = CommandStreamReceiverType::hardware;
|
||||
std::atomic<uint32_t> downloadAllocationsCalledCount = 0;
|
||||
std::atomic<bool> latestDownloadAllocationsBlocking = false;
|
||||
|
||||
Reference in New Issue
Block a user