Skip to content

Commit

Permalink
[L0][Bindless] Enable supported L0 feature aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
DBDuncan committed Feb 11, 2025
1 parent 98756a2 commit 38fc738
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/adapters/level_zero/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,28 +1139,28 @@ ur_result_t urDeviceGetInfo(
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP: {
// L0 does not support fetching 1D USM sampled image data.
return ReturnValue(false);
// L0 does support fetching 1D USM sampled image data.
return ReturnValue(true);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP: {
// L0 does not not support fetching 1D non-USM sampled image data.
// L0 does not support fetching 1D non-USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP: {
// L0 does not support fetching 2D USM sampled image data.
return ReturnValue(false);
// L0 does support fetching 2D USM sampled image data.
return ReturnValue(true);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP: {
// L0 does not support fetching 2D non-USM sampled image data.
return ReturnValue(false);
// L0 does support fetching 2D non-USM sampled image data.
return ReturnValue(true);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP: {
// L0 does not support fetching 3D non-USM sampled image data.
return ReturnValue(false);
// L0 does support fetching 3D non-USM sampled image data.
return ReturnValue(true);
}
case UR_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP: {
// L0 does not support image arrays
return ReturnValue(false);
// L0 does support image arrays
return ReturnValue(true);
}
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP: {
// L0 does not support unique addressing per dimension
Expand All @@ -1171,7 +1171,7 @@ ur_result_t urDeviceGetInfo(
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP: {
// L0 does not support sampling 1D USM sampled image data.
// L0 does not support sampling 2D USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_PROGRAM_SET_SPECIALIZATION_CONSTANTS:
Expand Down

0 comments on commit 38fc738

Please sign in to comment.