Skip to content

Commit 02cef01

Browse files
Removed workaround as the underlying issue is fixed
1 parent 6153ff1 commit 02cef01

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

backends/source/dppl_sycl_queue_manager.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ class QMgrHelper
7979
auto devty = d.get_info<info::device::device_type>();
8080
if(devty == DTy && be == BE) {
8181
SelectedDevices.push_back(d);
82-
83-
// Workaround for situations when in some environments
84-
// get_devices() returns each device TWICE. Then it fails in call
85-
// for context constructor with all doubled devices.
86-
// So use only one first device.
87-
break;
8882
}
8983
}
9084
if (SelectedDevices.size() > 0) {

0 commit comments

Comments
 (0)