Skip to content

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