Skip to content

Commit f7db2b2

Browse files
"if (wantSubDevice)" is always true here
1 parent cea5abd commit f7db2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/platform_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ static std::vector<device> amendDeviceAndSubDevices(
477477
}
478478
}
479479
}
480-
} else if (wantSubDevice) {
480+
} else {
481481
auto subDevices = dev.create_sub_devices<
482482
info::partition_property::partition_by_affinity_domain>(
483483
affinityDomain);

0 commit comments

Comments
 (0)