Skip to content

[Driver][SYCL] Allow for preprocessing to succeed with coding errors #5784

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 4 commits into from
Mar 24, 2022

Conversation

mdtoguchi
Copy link
Contributor

Typical behavior is to allow for preprocessing to succeed regardless of
the input file. When building with -fsycl, this is not possible due to
the requirement to generate the integration ehader and footer before we do
the actual preprocessing step.

Adjust the compilation when preprocessing is requested to allow for
the device compilation to fail and continue to perform the preprocessing
steps.

Typical behavior is to allow for preprocessing to succeed regardless of
the input file.  When building with -fsycl, this is not possible due to
the requirement to generate the integration ehader and footer before we do
the actual preprocessing step.

Adjust the compilation when preprocessing is requested to allow for
the device compilation to fail and continue to perform the preprocessing
steps.
@mdtoguchi mdtoguchi requested a review from a team as a code owner March 11, 2022 00:14
@mdtoguchi
Copy link
Contributor Author

@intel/dpcpp-clang-driver-reviewers, ping

hchilama
hchilama previously approved these changes Mar 21, 2022
@bader
Copy link
Contributor

bader commented Mar 22, 2022

@intel/dpcpp-l0-pi-reviewers, @intel/llvm-reviewers-runtime, @alexbatashev, FYI. Take a look at https://github.com/intel/llvm/runs/5504777351?check_suite_focus=true. It doesn't look like this patch might cause these failures.

@mdtoguchi
Copy link
Contributor Author

@hchilama, please take another look.

@bader bader merged commit 7f2e99c into intel:sycl Mar 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