Skip to content

[Driver][SYCL] Set target macro for host compilation #7108

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
Oct 24, 2022

Conversation

mdtoguchi
Copy link
Contributor

When building with -fsycl-targets=intel_gpu*, we add pre-defined macros to the device compilation. We need to extend this as the same macros need to be passed to the host compilation.

When building with -fsycl-targets=intel_gpu*, we add pre-defined macros
to the device compilation.  We need to extend this as the same macros need
to be passed to the host compilation.
@mdtoguchi mdtoguchi requested a review from a team as a code owner October 18, 2022 23:02
@mdtoguchi
Copy link
Contributor Author

@intel/dpcpp-clang-driver-reviewers, please take a look

@mdtoguchi
Copy link
Contributor Author

@intel/llvm-gatekeepers, this should be ready to go - thanks!

@steffenlarsen steffenlarsen merged commit b59d93c into intel:sycl Oct 24, 2022
@mdtoguchi mdtoguchi deleted the aot-target-macro-fix branch October 24, 2022 16:16
steffenlarsen pushed a commit that referenced this pull request Oct 24, 2022
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