Skip to content

Commit bf20371

Browse files
committed
Run clang-format on test source
Signed-off-by: Michael Aziz <[email protected]>
1 parent 6664de1 commit bf20371

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

sycl/test-e2e/GroupAlgorithm/root_group.cpp

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ void testQueriesAndProperties() {
2828
sycl::get_kernel_bundle<sycl::bundle_state::executable>(q.get_context());
2929
const auto kernel = bundle.get_kernel<class QueryKernel>();
3030
const auto local_range = sycl::range<1>(1);
31-
const auto maxWGs = kernel.ext_oneapi_get_info<
32-
sycl::ext::oneapi::experimental::info::kernel_queue_specific::
33-
max_num_work_groups>(q, local_range, 0);
31+
const auto maxWGs =
32+
kernel
33+
.ext_oneapi_get_info<sycl::ext::oneapi::experimental::info::
34+
kernel_queue_specific::max_num_work_groups>(
35+
q, local_range, 0);
3436
const auto wgRange = sycl::range<3>{WorkGroupSize, 1, 1};
35-
const auto maxWGsWithLimits = kernel.ext_oneapi_get_info<
36-
sycl::ext::oneapi::experimental::info::kernel_queue_specific::
37-
max_num_work_groups>(q, wgRange, wgRange.size() * sizeof(int));
37+
const auto maxWGsWithLimits =
38+
kernel
39+
.ext_oneapi_get_info<sycl::ext::oneapi::experimental::info::
40+
kernel_queue_specific::max_num_work_groups>(
41+
q, wgRange, wgRange.size() * sizeof(int));
3842
const auto props = sycl::ext::oneapi::experimental::properties{
3943
sycl::ext::oneapi::experimental::use_root_sync};
4044
q.single_task<class QueryKernel>(props, []() {});
@@ -53,9 +57,11 @@ void testRootGroup() {
5357
const auto bundle =
5458
sycl::get_kernel_bundle<sycl::bundle_state::executable>(q.get_context());
5559
const auto kernel = bundle.get_kernel<class RootGroupKernel>();
56-
const auto maxWGs = kernel.ext_oneapi_get_info<
57-
sycl::ext::oneapi::experimental::info::kernel_queue_specific::
58-
max_num_work_groups>(q, WorkGroupSize, 0);
60+
const auto maxWGs =
61+
kernel
62+
.ext_oneapi_get_info<sycl::ext::oneapi::experimental::info::
63+
kernel_queue_specific::max_num_work_groups>(
64+
q, WorkGroupSize, 0);
5965
const auto props = sycl::ext::oneapi::experimental::properties{
6066
sycl::ext::oneapi::experimental::use_root_sync};
6167
sycl::buffer<int> dataBuf{sycl::range{maxWGs * WorkGroupSize}};
@@ -95,9 +101,11 @@ void testRootGroupFunctions() {
95101
const auto bundle =
96102
sycl::get_kernel_bundle<sycl::bundle_state::executable>(q.get_context());
97103
const auto kernel = bundle.get_kernel<class RootGroupFunctionsKernel>();
98-
const auto maxWGs = kernel.ext_oneapi_get_info<
99-
sycl::ext::oneapi::experimental::info::kernel_queue_specific::
100-
max_num_work_groups>(q, WorkGroupSize, 0);
104+
const auto maxWGs =
105+
kernel
106+
.ext_oneapi_get_info<sycl::ext::oneapi::experimental::info::
107+
kernel_queue_specific::max_num_work_groups>(
108+
q, WorkGroupSize, 0);
101109
const auto props = sycl::ext::oneapi::experimental::properties{
102110
sycl::ext::oneapi::experimental::use_root_sync};
103111

0 commit comments

Comments
 (0)