Skip to content

Conversation

@AGindinson
Copy link

As a follow-up on commit de262c9, delete default definitions for all 3.0 feature macros. The motivation is similar to that in the image support macro case - we need to account for target platform features whenever the Clang FE is called in Compute Runtime's context.

Signed-off-by: Artem Gindinson [email protected]

As a follow-up on commit de262c9, delete default definitions for all 3.0
feature macros. The motivation is similar to that in the image support macro
case - we need to account for target platform features whenever the Clang FE is
called in Compute Runtime's context.

Signed-off-by: Artem Gindinson <[email protected]>
@AGindinson
Copy link
Author

@hewj03 @haonanya Could you please take a look?

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 some device doesn't support one of these deleted feature macro?

@AGindinson
Copy link
Author

@hewj03, thank you so much! Yes, these macros belong to "optional core features" per OCL C 3.0 (1), so the behavior is expected for certain platforms.

(1) https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#features.

@fzou1 fzou1 merged commit d5a2638 into intel:ocl-open-140 May 11, 2023
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