Skip to content

Backmerge - Enable precompiled headers (#297) #379

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 21, 2022

Conversation

mnaczk
Copy link
Contributor

@mnaczk mnaczk commented Oct 20, 2022

Also cherry-pick #249, #265 and #346 to address cross build issues.

Signed-off-by: Haonan Yang [email protected]

Also cherry-pick intel#249,
intel#265 and
intel#346 to address cross
build issues.

Signed-off-by: Haonan Yang <[email protected]>
@mnaczk
Copy link
Contributor Author

mnaczk commented Oct 20, 2022

@haonanya Could you please review this PR?

@haonanya haonanya requested a review from wenju-he October 20, 2022 13:31
Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

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

LGTM. It seems there is no PCH support on 130/150 branches.

@haonanya haonanya merged commit be776e6 into intel:ocl-open-140 Oct 21, 2022
@haonanya
Copy link

LGTM. It seems there is no PCH support on 130/150 branches.

I will add support for them.

mnaczk added a commit to mnaczk/opencl-clang that referenced this pull request Oct 27, 2022
1. Remove patch for opencl-c.h
2. Add patch that remove wrong validation mechanism
in llvm-project\clang\lib\Sema\SemaType.cpp that checked
image type support
3. Fix cross compilation crash. Bug was added by PR
intel#379
mnaczk added a commit to mnaczk/opencl-clang that referenced this pull request Oct 28, 2022
mnaczk added a commit to mnaczk/opencl-clang that referenced this pull request Oct 28, 2022
mnaczk added a commit to mnaczk/opencl-clang that referenced this pull request Nov 2, 2022
Not all functions that use Image type should be wrapped by
feature macro __opencl_c_images because some of these functions
need to be available for OpenCL C 1.2 in which feature macro can not be
set.
Therefore this patch needs to be removed because it broke backward
compatibility for OpenCL C 1.2

Additionally, fixed cross-compilation crash. The bug was added by PR
intel#379
wenju-he pushed a commit that referenced this pull request Nov 2, 2022
Not all functions that use Image type should be wrapped by
feature macro __opencl_c_images because some of these functions
need to be available for OpenCL C 1.2 in which feature macro can not be
set.
Therefore this patch needs to be removed because it broke backward
compatibility for OpenCL C 1.2

Additionally, fixed cross-compilation crash. The bug was added by PR
#379
AGindinson pushed a commit to AGindinson/opencl-clang that referenced this pull request May 16, 2023
Also cherry-pick intel#249,
intel#265 and
intel#346 to address cross
build issues.

Signed-off-by: Haonan Yang <[email protected]>
haonanya pushed a commit that referenced this pull request May 16, 2023
Also cherry-pick #249,
#265 and
#346 to address cross
build issues.

Signed-off-by: Haonan Yang <[email protected]>
Co-authored-by: mnaczk <[email protected]>
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.

4 participants