mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
style: format code using clang-format 15.0.6
Related-To: NEO-7500 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a4794e432d
commit
43b790957d
@@ -53,13 +53,13 @@ class CommandStreamReceiverMock : public UltCommandStreamReceiver<FamilyType> {
|
||||
~CommandStreamReceiverMock() override {
|
||||
EXPECT_FALSE(pClDevice->hasOwnership());
|
||||
if (expectedToFreeCount == (size_t)-1) {
|
||||
EXPECT_GT(toFree.size(), 0u); //make sure flush was called
|
||||
EXPECT_GT(toFree.size(), 0u); // make sure flush was called
|
||||
} else {
|
||||
EXPECT_EQ(toFree.size(), expectedToFreeCount);
|
||||
}
|
||||
|
||||
auto memoryManager = this->getMemoryManager();
|
||||
//Now free memory. if CQ/CSR did the same, we will hit double-free
|
||||
// Now free memory. if CQ/CSR did the same, we will hit double-free
|
||||
for (auto p : toFree)
|
||||
memoryManager->freeGraphicsMemory(p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user