Skip to content

Commit eb5abfb

Browse files
committed
Clang-format fix
1 parent 004c9d5 commit eb5abfb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

sycl/unittests/kernel-and-program/MultipleDevsCache.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,17 @@ TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
188188
auto Bundle = cl::sycl::get_kernel_bundle<sycl::bundle_state::input>(
189189
Queue.get_context());
190190
Queue.submit([&](cl::sycl::handler &cgh) {
191-
cgh.single_task<MultTestKernel>([](){});
191+
cgh.single_task<MultTestKernel>([]() {});
192192
});
193193

194194
auto BundleObject = cl::sycl::build(Bundle, Bundle.get_devices());
195195
auto KernelID = cl::sycl::get_kernel_id<MultTestKernel>();
196196
auto Kernel = BundleObject.get_kernel(KernelID);
197197

198-
// Because of emulating 2 devices program is retained for each one in build().
199-
// It is also depends on number of device images. This test has one image,
200-
// but other tests can create other images. Additional variable is added
201-
// to control count of piProgramRetain calls
198+
// Because of emulating 2 devices program is retained for each one in
199+
// build(). It is also depends on number of device images. This test has one
200+
// image, but other tests can create other images. Additional variable is
201+
// added to control count of piProgramRetain calls
202202
auto BundleImpl = getSyclObjImpl(Bundle);
203203
int NumRetains = BundleImpl->size() * 2;
204204

@@ -212,7 +212,7 @@ TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
212212
EXPECT_EQ(KernelCache.size(), (size_t)2) << "Expect 2 kernels in cache";
213213
}
214214
// Cache is cleared here, check kernel release
215-
// 3 kernel releases is expected because kernel_bundle::get_kernel() calls piKernelRetain
216-
// so one more kernel release is needed
215+
// 3 kernel releases is expected because kernel_bundle::get_kernel() calls
216+
// piKernelRetain so one more kernel release is needed
217217
EXPECT_EQ(KernelReleaseCounter, 3) << "Expect 3 piKernelRelease calls";
218218
}

0 commit comments

Comments
 (0)