mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: Stop direct submission before signal GL event
Related-To: NEO-10556 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
759cc5538d
commit
b0a5f2cced
@@ -194,6 +194,10 @@ class MockCommandStreamReceiver : public CommandStreamReceiver {
|
||||
programStallingCommandsForBarrierCalled = true;
|
||||
}
|
||||
|
||||
void stopDirectSubmission(bool blocking) override {
|
||||
this->blockingStopDirectSubmissionCalled = blocking;
|
||||
}
|
||||
|
||||
bool createPreemptionAllocation() override {
|
||||
if (createPreemptionAllocationParentCall) {
|
||||
return CommandStreamReceiver::createPreemptionAllocation();
|
||||
@@ -256,6 +260,7 @@ class MockCommandStreamReceiver : public CommandStreamReceiver {
|
||||
bool makeResidentParentCall = false;
|
||||
bool programComputeBarrierCommandCalled = false;
|
||||
bool programStallingCommandsForBarrierCalled = false;
|
||||
bool blockingStopDirectSubmissionCalled = false;
|
||||
std::optional<bool> isGpuHangDetectedReturnValue{};
|
||||
std::optional<bool> testTaskCountReadyReturnValue{};
|
||||
WaitStatus waitForCompletionWithTimeoutReturnValue{WaitStatus::ready};
|
||||
|
||||
Reference in New Issue
Block a user