File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ int main() {
183
183
}
184
184
targetDevIndex = GetPreferredDeviceIndex (devices, info::device_type::gpu);
185
185
if (targetDevIndex >= 0 ) {
186
- device d (gpu_selector_v);
186
+ device d (gpu_selector_v);
187
187
std::cout << " gpu_selector_v selected " ;
188
188
printDeviceType (d);
189
189
assert (devices[targetDevIndex] == d &&
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ using namespace sycl;
17
17
int main () {
18
18
queue Q;
19
19
auto Dev = Q.get_device ();
20
- if (Dev.get_info <info::device::max_num_sub_groups>()> 1 ) {
20
+ if (Dev.get_info <info::device::max_num_sub_groups>() > 1 ) {
21
21
std::vector<size_t > SubGroupSizes =
22
22
Dev.get_info <sycl::info::device::sub_group_sizes>();
23
23
std::vector<size_t >::const_iterator MaxIter =
You can’t perform that action at this time.
0 commit comments