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

Remove sycl 1.2.1 code #16118

Merged

Conversation

dklochkov-emb
Copy link
Contributor

Remove 1.2.1 code as mentioned in #15890

@@ -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
Copy link
Contributor

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).

Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@dklochkov-emb
Copy link
Contributor Author

@AlexeySachkov Please, review changes

@bader
Copy link
Contributor

bader commented Nov 25, 2024

@AlexeySachkov Please, review changes

@dklochkov-emb, I recommend using GitHub UI to request review:

image

This will add your PR to the reviewer's dashboard https://github.com/pulls/review-requested.

@AlexeySachkov AlexeySachkov merged commit 3c274a8 into intel:sycl Nov 26, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants