Skip to content

Commit 699f5a4

Browse files
DBDuncankbenzie
authored andcommitted
Enable tests using Level Zero backend and their aspects (#16862)
A number of working bindless images CI tests are disabled running on Level Zero backend. Enable them to improve test coverage. Enable corresponding feature aspects on the Level Zero backend.
1 parent 00c00ec commit 699f5a4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

source/adapters/level_zero/device.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,28 +1139,28 @@ ur_result_t urDeviceGetInfo(
11391139
return ReturnValue(false);
11401140
}
11411141
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP: {
1142-
// L0 does not support fetching 1D USM sampled image data.
1143-
return ReturnValue(false);
1142+
// L0 does support fetching 1D USM sampled image data.
1143+
return ReturnValue(true);
11441144
}
11451145
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP: {
1146-
// L0 does not not support fetching 1D non-USM sampled image data.
1146+
// L0 does not support fetching 1D non-USM sampled image data.
11471147
return ReturnValue(false);
11481148
}
11491149
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP: {
1150-
// L0 does not support fetching 2D USM sampled image data.
1151-
return ReturnValue(false);
1150+
// L0 does support fetching 2D USM sampled image data.
1151+
return ReturnValue(true);
11521152
}
11531153
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP: {
1154-
// L0 does not support fetching 2D non-USM sampled image data.
1155-
return ReturnValue(false);
1154+
// L0 does support fetching 2D non-USM sampled image data.
1155+
return ReturnValue(true);
11561156
}
11571157
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP: {
1158-
// L0 does not support fetching 3D non-USM sampled image data.
1159-
return ReturnValue(false);
1158+
// L0 does support fetching 3D non-USM sampled image data.
1159+
return ReturnValue(true);
11601160
}
11611161
case UR_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP: {
1162-
// L0 does not support image arrays
1163-
return ReturnValue(false);
1162+
// L0 does support image arrays
1163+
return ReturnValue(true);
11641164
}
11651165
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP: {
11661166
// L0 does not support unique addressing per dimension
@@ -1171,7 +1171,7 @@ ur_result_t urDeviceGetInfo(
11711171
return ReturnValue(false);
11721172
}
11731173
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP: {
1174-
// L0 does not support sampling 1D USM sampled image data.
1174+
// L0 does not support sampling 2D USM sampled image data.
11751175
return ReturnValue(false);
11761176
}
11771177
case UR_DEVICE_INFO_PROGRAM_SET_SPECIALIZATION_CONSTANTS:

0 commit comments

Comments
 (0)