Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit a7b8e28

Browse files
committed
Formatting
Signed-off-by: Rauf, Rana <[email protected]>
1 parent ecf1976 commit a7b8e28

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

SYCL/Basic/intel-ext-device.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,21 +126,22 @@ int main(int argc, char **argv) {
126126
// Check if this experimental feature is supported
127127
#ifdef SYCL_EXT_ONEAPI_MAX_WORK_GROUP_QUERY
128128
sycl::id<1> groupD =
129-
dev.get_info<sycl::ext::oneapi::experimental::info::device::max_work_groups<1>>();
130-
std::cout << "Max work group size in 1D \n" ;
129+
dev.get_info<sycl::ext::oneapi::experimental::info::device::
130+
max_work_groups<1>>();
131+
std::cout << "Max work group size in 1D \n";
131132
std::cout << "Dimension 1:" << groupD[0] << std::endl;
132133

133134
sycl::id<2> group2D =
134135
dev.get_info<sycl::ext::oneapi::experimental::info::device::
135136
max_work_groups<2>>();
136-
std::cout << "Max work group size in 2D \n" ;
137+
std::cout << "Max work group size in 2D \n";
137138
std::cout << "Dimension 1:" << group2D[0] << "\n"
138139
<< "Dimension 2:" << group2D[1] << std::endl;
139140

140141
sycl::id<3> group3D =
141142
dev.get_info<sycl::ext::oneapi::experimental::info::device::
142143
max_work_groups<3>>();
143-
std::cout << "Max work group size in 3D \n" ;
144+
std::cout << "Max work group size in 3D \n";
144145
std::cout << "Dimension 1:" << group3D[0] << "\n"
145146
<< "Dimension 2:" << group3D[1] << "\n"
146147
<< "Dimension 3:" << group3D[2] << std::endl;

0 commit comments

Comments
 (0)