Skip to content

Commit 728ff81

Browse files
[SYCL][NFC] Fix unused argument warning in host_selector (#6831)
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 817e5ca commit 728ff81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/device_selector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ __SYCL_EXPORT int accelerator_selector_v(const device &dev) {
195195
int host_selector::operator()(const device &dev) const {
196196
// Host device has been removed and host_selector has been deprecated, so this
197197
// should never be able to select a device.
198+
std::ignore = dev;
198199
return detail::REJECT_DEVICE_SCORE;
199200
}
200201

0 commit comments

Comments
 (0)