Skip to content

Commit 37311d8

Browse files
committed
Use new UR device query names
1 parent dfee8b8 commit 37311d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/device_impl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,15 +671,15 @@ bool device_impl::has(aspect Aspect) const {
671671
ur_bool_t support = false;
672672
bool call_successful =
673673
getAdapter()->call_nocheck<UrApiKind::urDeviceGetInfo>(
674-
MDevice, UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_EXP,
674+
MDevice, UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP,
675675
sizeof(ur_bool_t), &support, nullptr) == UR_RESULT_SUCCESS;
676676
return call_successful && support;
677677
}
678678
case aspect::ext_oneapi_bindless_images_sample_2d_usm: {
679679
ur_bool_t support = false;
680680
bool call_successful =
681681
getAdapter()->call_nocheck<UrApiKind::urDeviceGetInfo>(
682-
MDevice, UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP,
682+
MDevice, UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP,
683683
sizeof(ur_bool_t), &support, nullptr) == UR_RESULT_SUCCESS;
684684
return call_successful && support;
685685
}

0 commit comments

Comments
 (0)