This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -126,21 +126,22 @@ int main(int argc, char **argv) {
126
126
// Check if this experimental feature is supported
127
127
#ifdef SYCL_EXT_ONEAPI_MAX_WORK_GROUP_QUERY
128
128
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 " ;
131
132
std::cout << " Dimension 1:" << groupD[0 ] << std::endl;
132
133
133
134
sycl::id<2 > group2D =
134
135
dev.get_info <sycl::ext::oneapi::experimental::info::device::
135
136
max_work_groups<2 >>();
136
- std::cout << " Max work group size in 2D \n " ;
137
+ std::cout << " Max work group size in 2D \n " ;
137
138
std::cout << " Dimension 1:" << group2D[0 ] << " \n "
138
139
<< " Dimension 2:" << group2D[1 ] << std::endl;
139
140
140
141
sycl::id<3 > group3D =
141
142
dev.get_info <sycl::ext::oneapi::experimental::info::device::
142
143
max_work_groups<3 >>();
143
- std::cout << " Max work group size in 3D \n " ;
144
+ std::cout << " Max work group size in 3D \n " ;
144
145
std::cout << " Dimension 1:" << group3D[0 ] << " \n "
145
146
<< " Dimension 2:" << group3D[1 ] << " \n "
146
147
<< " Dimension 3:" << group3D[2 ] << std::endl;
You can’t perform that action at this time.
0 commit comments