Skip to content

Commit 90a8178

Browse files
committed
fix revert error
1 parent 38ed878 commit 90a8178

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sycl/source/device.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ std::vector<device> device::get_devices(info::device_type deviceType) {
7979
if (OdsTargetList && !OdsTargetList->backendCompatible(platformBackend))
8080
continue;
8181

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());
8582
if (includeHost && plt.is_host()) {
8683
std::vector<device> host_device(
8784
plt.get_devices(info::device_type::host));

0 commit comments

Comments
 (0)