Skip to content

Commit 6697fff

Browse files
committed
[SYCL] Score is negative for rejection
Signed-off-by: Ruyman Reyes <[email protected]>
1 parent 8fd3208 commit 6697fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/device_selector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static bool isDeviceOfPreferredSyclBe(const device &Device) {
3030

3131
device device_selector::select_device() const {
3232
vector_class<device> devices = device::get_devices();
33-
// SYCL specification uses -1 to reject a device from selection
33+
// SYCL 1.2.1 defines a negative score to reject a device from selection
3434
int score = REJECT_DEVICE_SCORE;
3535
const device *res = nullptr;
3636

0 commit comments

Comments
 (0)