Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L0][Bindless] Enable supported L0 feature aspects #2705

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading