Skip to content

[Driver][SYCL] Fix -Xsycl option triple check with multiple -fsycl-targets #4789

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 2 commits into from
Oct 23, 2021

Conversation

mdtoguchi
Copy link
Contributor

…ycl-targets

When passing multiple -fsycl-targets on the command line, the last one wins.
There is a check for the number of target triples provided by the user when
applying -Xsycl-target* options to the device compilation. We were
improperly counting all of the -fsycl-targets values instead of only taking
into account the last one only.

…ycl-targets

When passing multiple -fsycl-targets on the command line, the last one wins.
There is a check for the number of target triples provided by the user when
applying -Xsycl-target* options to the device compilation.  We were
improperly counting all of the -fsycl-targets values instead of only taking
into account the last one only.
AGindinson
AGindinson previously approved these changes Oct 20, 2021
Copy link
Contributor

@AGindinson AGindinson left a comment

Choose a reason for hiding this comment

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

LGTM!

@bader bader changed the title [Driver][SYCL] -Xsycl option triple check incorrect with multiple -fs… [Driver][SYCL] Fix -Xsycl option triple check with multiple -fsycl-targets Oct 23, 2021
@bader bader merged commit c623223 into intel:sycl Oct 23, 2021
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.

3 participants