Skip to content

Commit 73de142

Browse files
committed
Fix diff
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent be01218 commit 73de142

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

source/loader/layers/validation/ur_valddi.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,6 @@ __urdlllocal ur_result_t UR_APICALL urDeviceGetInfo(
496496
return UR_RESULT_ERROR_INVALID_NULL_POINTER;
497497
}
498498

499-
if (UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP < propName) {
500-
return UR_RESULT_ERROR_INVALID_ENUMERATION;
501-
}
502-
503499
if (UR_DEVICE_INFO_TIMESTAMP_RECORDING_SUPPORT_EXP < propName) {
504500
return UR_RESULT_ERROR_INVALID_ENUMERATION;
505501
}

tools/urinfo/urinfo.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ inline void printDeviceInfos(ur_device_handle_t hDevice,
401401
std::cout << prefix;
402402
printDeviceInfo<ur_bool_t>(
403403
hDevice, UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP);
404+
std::cout << prefix;
404405
printDeviceInfo<ur_bool_t>(hDevice,
405406
UR_DEVICE_INFO_TIMESTAMP_RECORDING_SUPPORT_EXP);
406407
}

0 commit comments

Comments
 (0)