mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Return error code from submit() to application.
Related-To: NEO-3741 Change-Id: I0e0ff6606eb6a8a77673949955c8e799689017b6 Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
@@ -485,8 +485,8 @@ class CommandStreamReceiverMock : public CommandStreamReceiver {
|
||||
}
|
||||
}
|
||||
|
||||
FlushStamp flush(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) override {
|
||||
return flushStamp->peekStamp();
|
||||
bool flush(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) override {
|
||||
return true;
|
||||
}
|
||||
|
||||
void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, bool quickKmdSleep, bool forcePowerSavingMode) override {
|
||||
@@ -506,7 +506,7 @@ class CommandStreamReceiverMock : public CommandStreamReceiver {
|
||||
return cs;
|
||||
}
|
||||
|
||||
void flushBatchedSubmissions() override {}
|
||||
bool flushBatchedSubmissions() override { return true; }
|
||||
|
||||
CommandStreamReceiverType getType() override {
|
||||
return CommandStreamReceiverType::CSR_HW;
|
||||
|
||||
Reference in New Issue
Block a user