@@ -188,17 +188,17 @@ TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
188
188
auto Bundle = cl::sycl::get_kernel_bundle<sycl::bundle_state::input>(
189
189
Queue.get_context ());
190
190
Queue.submit ([&](cl::sycl::handler &cgh) {
191
- cgh.single_task <MultTestKernel>([](){});
191
+ cgh.single_task <MultTestKernel>([]() {});
192
192
});
193
193
194
194
auto BundleObject = cl::sycl::build (Bundle, Bundle.get_devices ());
195
195
auto KernelID = cl::sycl::get_kernel_id<MultTestKernel>();
196
196
auto Kernel = BundleObject.get_kernel (KernelID);
197
197
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
202
202
auto BundleImpl = getSyclObjImpl (Bundle);
203
203
int NumRetains = BundleImpl->size () * 2 ;
204
204
@@ -212,7 +212,7 @@ TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
212
212
EXPECT_EQ (KernelCache.size (), (size_t )2 ) << " Expect 2 kernels in cache" ;
213
213
}
214
214
// 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
217
217
EXPECT_EQ (KernelReleaseCounter, 3 ) << " Expect 3 piKernelRelease calls" ;
218
218
}
0 commit comments