-
Notifications
You must be signed in to change notification settings - Fork 787
[UR] Update some naming inconsistencies for UR enums #17406
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
Conversation
e5fdd0a
to
e41b561
Compare
e41b561
to
d804ef2
Compare
d804ef2
to
85d6914
Compare
85d6914
to
5971de5
Compare
5971de5
to
35f1388
Compare
35f1388
to
0b5115b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sycl/doc
changes LGTM. This is an interface/API break to some extent, but I think that it is fine to have it, because the variable is explicitly documented under "debugging" section with a disclaimer that it should not be used in production code. As such, I think that our right to change it without prior notice is reserved for us.
If we want to make the transition smoother, then I would suggest to print a warning message to stderr
if the old variable is used
0b5115b
to
e44b6b6
Compare
@intel/bindless-images-reviewers @intel/dpcpp-nativecpu-reviewers @intel/llvm-reviewers-runtime friendly ping for a review please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SYCL changes LGTM
e44b6b6
to
424f0d5
Compare
…ENABLE_IMAGE_SUPPORT env variable, SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT should be used instead.
424f0d5
to
fecd0c0
Compare
- Renamed `X_SUPPORTED` enums to be consistent with majority of UR enums named `X_SUPPORT` - Renamed some enums to be called `X_SUPPORT` where they return true/false - Renamed `SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT` to `SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT`
X_SUPPORTED
enums to be consistent with majority of UR enums namedX_SUPPORT
X_SUPPORT
where they return true/falseSYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT
toSYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT