Skip to content

Remove patch for opencl-c.h #391

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
Nov 2, 2022

Conversation

mnaczk
Copy link
Contributor

@mnaczk mnaczk commented 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
More info llvm/llvm-project#58017

Additionally, fixed cross-compilation crash. The bug was added by PR #379

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
@mnaczk
Copy link
Contributor Author

mnaczk commented Nov 2, 2022

@hewj03 Could you please review this PR?

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. Is it right that you'll fix https://reviews.llvm.org/D103911 for the empty kernel crash issue?

@wenju-he wenju-he merged commit 2867197 into intel:ocl-open-140 Nov 2, 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.

2 participants