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:
Bellekallu Rajkiran
2025-09-23 15:28:27 +00:00
committed by Compute-Runtime-Automation
parent cf35f8b40e
commit 9cccbcabe1
4 changed files with 109 additions and 1 deletions

View File

@@ -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;