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

[SYCL] Enable standard optimization pipeline for device code #2207

Merged
merged 4 commits into from
Aug 5, 2020

Conversation

bader
Copy link
Contributor

@bader bader commented Jul 29, 2020

Add new compiler flag to disable optimizations at compile time:
-fno-sycl-std-optimizations

Temporally disable optimizations in some LIT tests.

@bader
Copy link
Contributor Author

bader commented Jul 29, 2020

/summary:run

1 similar comment
@bader
Copy link
Contributor Author

bader commented Jul 30, 2020

/summary:run

@bader bader added the performance Performance related issues label Jul 30, 2020
@bader
Copy link
Contributor Author

bader commented Jul 30, 2020

/summary:run

@bader
Copy link
Contributor Author

bader commented Aug 4, 2020

I'd like to commit this patch ASAP to avoid regressions in the future.
There are still a few issues with enabling standard optimization pipeline for SPIR target, but I'll handle them post-commit.
I'm going to introduce a new compiler flag to rollback to old behavior when needed (e.g. -fno-sycl-optimizations).

Let me now if you have any concerns about that plan.

Add new compiler flag to disable optimizations at compile time:
 -fno-sycl-std-optimizations

 Temporally disable optimizations in some LIT tests.
@bader bader force-pushed the test-optimizations branch from 54bdb93 to 0909cfb Compare August 4, 2020 18:53
@bader bader marked this pull request as ready for review August 4, 2020 18:54
@bader bader requested a review from rbegam August 4, 2020 18:54
@bader bader changed the title [WIP][SYCL] Enable standard optimization pipeline for device code [SYCL] Enable standard optimization pipeline for device code Aug 4, 2020
premanandrao
premanandrao previously approved these changes Aug 4, 2020
mdtoguchi
mdtoguchi previously approved these changes Aug 4, 2020
Copy link
Contributor

@mdtoguchi mdtoguchi left a comment

Choose a reason for hiding this comment

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

LGTM

premanandrao
premanandrao previously approved these changes Aug 4, 2020
@elizabethandrews
Copy link
Contributor

LGTM except for one question - Should a comment be added to the 2 tests where optimizations were enabled before and now disabled, since this is a temporary change?

@bader
Copy link
Contributor Author

bader commented Aug 4, 2020

LGTM except for one question - Should a comment be added to the 2 tests where optimizations were enabled before and now disabled, since this is a temporary change?

I'll open an issue to update all the tests where optimizations were disabled due to different issues (there are more than 2 tests) and add a comment with issue ID to all the tests.

Fznamznon
Fznamznon previously approved these changes Aug 5, 2020
@pvchupin pvchupin merged commit 5976ff0 into intel:sycl Aug 5, 2020
@bader bader deleted the test-optimizations branch September 10, 2020 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants