Skip to content

[Driver][SYCL] Improvements to -fsycl-device-only behaviors #2597

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

Conversation

mdtoguchi
Copy link
Contributor

Make some improvements to -fsycl-device-only to better match the device
compilations for regular -fsycl device compiles.

  • Do not force the device triple at the initial target setting, allowing
    for improved capabilities with user provided -target
  • Allow for proper C++ assumptions (source and standard)

@mdtoguchi mdtoguchi requested a review from AGindinson as a code owner October 6, 2020 01:02
@mdtoguchi mdtoguchi force-pushed the private/mdtoguchi/fsycl-device-only-updates branch 3 times, most recently from fad73db to 53dc169 Compare October 11, 2020 22:00
Make some improvements to -fsycl-device-only to better match the device
compilations for regular -fsycl device compiles.

 - Do not force the device triple at the initial target setting, allowing
   for improved capabilities with user provided -target <triple>
 - Allow for proper C++ assumptions (source and standard)
@mdtoguchi mdtoguchi force-pushed the private/mdtoguchi/fsycl-device-only-updates branch from 53dc169 to 692f758 Compare October 11, 2020 23:30
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.

The changes LGTM in general (but for a couple comments). This is a definite improvement, and wouldn't hurt the work needing to be done in scope of #1814

@mdtoguchi mdtoguchi requested a review from AGindinson October 16, 2020 19:08
@bader bader merged commit b036051 into intel:sycl Oct 20, 2020
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