Skip to content
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

Misc updates about C++ for OpenCL and SPIR-V. #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AnastasiaStulova
Copy link
Contributor

This change adds information about C++ for OpenCL 2021 and replaces SPIR -> SPIR-V. With introduction of SPIR-V target in Clang/LLVM we should discourage the use of old SPIR everywhere.

@AnastasiaStulova
Copy link
Contributor Author

This change adds information about C++ for OpenCL 2021 and replaces
SPIR -> SPIR-V. With introduction of SPIR-V target in Clang/LLVM we
should discourage the use of old SPIR everywhere.
@AnastasiaStulova
Copy link
Contributor Author

Btw I don't quite get the build failure as it seems to report issues in places unaffected by the changes in this PR.

__Note:__ In clang releases up to 12.0, calling most builtin functions requires the extra flags `-Xclang -finclude-default-header` to be passed to clang. Refer to the release documentation for more details.
__Note:__ In clang releases:
- 12.x or earlier, calling most builtin functions requires the extra flags `-Xclang -finclude-default-header` to be passed to clang.
- 13.x or earlier, target ̀spirv32 ̀ must be replaced by ̀̀spir ̀.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- 13.x or earlier, target ̀spirv32 ̀ must be replaced by ̀̀spir ̀.
- 13.x or earlier, target `spirv32` must be replaced by `spir`.

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