mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +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:
@@ -34,7 +34,7 @@ class CommandStreamReceiverMock : public UltCommandStreamReceiver<FamilyType> {
|
||||
this->pDevice = pDevice;
|
||||
}
|
||||
|
||||
FlushStamp flush(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) override {
|
||||
bool flush(BatchBuffer &batchBuffer, ResidencyContainer &allocationsForResidency) override {
|
||||
EXPECT_NE(nullptr, batchBuffer.commandBufferAllocation->getUnderlyingBuffer());
|
||||
|
||||
toFree.push_back(batchBuffer.commandBufferAllocation);
|
||||
@@ -43,7 +43,7 @@ class CommandStreamReceiverMock : public UltCommandStreamReceiver<FamilyType> {
|
||||
|
||||
EXPECT_TRUE(this->ownershipMutex.try_lock());
|
||||
this->ownershipMutex.unlock();
|
||||
return 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
~CommandStreamReceiverMock() override {
|
||||
|
||||
Reference in New Issue
Block a user