-
Notifications
You must be signed in to change notification settings - Fork 752
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
Remove sycl 1.2.1 code #16118
Remove sycl 1.2.1 code #16118
Conversation
@@ -68,7 +68,7 @@ | |||
// 3300+ lines of code | |||
|
|||
// SYCL_LANGUAGE_VERSION is 4 digit year followed by 2 digit revision | |||
#if !SYCL_LANGUAGE_VERSION || SYCL_LANGUAGE_VERSION < 202001 |
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_LANGUAGE_VERSION
is a compiler-provided macro, meaning that the only situation this #if
can be taken is when SYCL headers are used with 3rd-party host compiler. I don't know why would we need a different API in that case - most likely this condition is some kind of legacy code and I would completely drop __SYCL_NONCONST_FUNCTOR__
and all its uses (meaning _KERNELFUNCPARAM_TYPE
as well).
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.
LGTM.
@AlexeySachkov Please, review changes |
@dklochkov-emb, I recommend using GitHub UI to request review: This will add your PR to the reviewer's dashboard https://github.com/pulls/review-requested. |
Remove 1.2.1 code as mentioned in #15890