mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 20:43:13 +08:00
refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled. Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9d1da44e08
commit
54de14a9dc
@@ -974,8 +974,9 @@ TEST_F(EnqueueSvmTest, givenEnqueueTaskBlockedOnUserEventWhenItIsEnqueuedThenSur
|
||||
kernel->getResidency(allSurfaces);
|
||||
EXPECT_EQ(3u, allSurfaces.size());
|
||||
|
||||
for (auto &surface : allSurfaces)
|
||||
for (auto &surface : allSurfaces) {
|
||||
delete surface;
|
||||
}
|
||||
|
||||
EXPECT_EQ(1u, kernel->kernelSvmGfxAllocations.size());
|
||||
uEvent->setStatus(-1);
|
||||
@@ -1005,8 +1006,9 @@ TEST_F(EnqueueSvmTest, GivenMultipleThreasWhenAllocatingSvmThenOnlyOneAllocation
|
||||
|
||||
auto asyncFcn = [&](bool alloc, uint32_t from, uint32_t to) {
|
||||
flag++;
|
||||
while (flag < 3)
|
||||
while (flag < 3) {
|
||||
;
|
||||
}
|
||||
if (alloc) {
|
||||
allocSvm(from, to);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user