Skip to content

Revert "[SYCL] Fix performance regression in parallel_for with using id class (#5385)" #6013

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

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Apr 14, 2022

This reverts commit a5760aa.

Test is kept to check that id is converted from item within kernel.

#5385 intends to fix a perf regression of a workload on cpu device. An alternative fix for the regression is to fix two pre- and post-vectorizer passes which have not handled llvm.assume properly, which I think is a better approach.

#5385 causes regression on another vectorizer workload due to missing fsycl-id-queries-fit-in-int support for sycl::id that is used for querying global_id within a kernel. fsycl-id-queries-fit-in-int support is very important for vectorizer performance, so it is necessary to have the support for sycl::id.

…id class (intel#5385)"

This reverts commit a5760aa.

Test is kept to check that id is converted from item within kernel.
@cperkinsintel cperkinsintel self-requested a review April 14, 2022 17:59
@wenju-he
Copy link
Contributor Author

@steffenlarsen @cperkinsintel could you please merge this PR? thanks

@againull againull merged commit 9d908d8 into intel:sycl Apr 18, 2022
@wenju-he wenju-he deleted the revert-pr-5385 branch April 18, 2022 23:31
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