We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ed878 commit 90a8178Copy full SHA for 90a8178
sycl/source/device.cpp
@@ -79,9 +79,6 @@ std::vector<device> device::get_devices(info::device_type deviceType) {
79
if (OdsTargetList && !OdsTargetList->backendCompatible(platformBackend))
80
continue;
81
82
- std::vector<device> found_devices(plt.get_devices(deviceType));
83
- if (!found_devices.empty())
84
- devices.insert(devices.end(), found_devices.begin(), found_devices.end());
85
if (includeHost && plt.is_host()) {
86
std::vector<device> host_device(
87
plt.get_devices(info::device_type::host));
0 commit comments