Skip to content

Commit 040edc2

Browse files
committed
Change to preferring host to accel
Signed-off-by: James Brodman <[email protected]>
1 parent 20fa2a9 commit 040edc2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/source/device_selector.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ int default_selector::operator()(const device &dev) const {
6363
if (dev.is_host())
6464
return 100;
6565

66+
if (dev.is_accelerator())
67+
return 50;
68+
6669
return -1;
6770
}
6871

0 commit comments

Comments
 (0)