Skip to content

Upstream bool vectors support for SYCL #945

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

Closed
Fznamznon opened this issue Dec 18, 2019 · 0 comments · Fixed by #1419
Closed

Upstream bool vectors support for SYCL #945

Fznamznon opened this issue Dec 18, 2019 · 0 comments · Fixed by #1419
Assignees
Labels
upstream This change is related to upstreaming SYCL support to llorg.

Comments

@Fznamznon
Copy link
Contributor

We added support of ext_vector_type attribute for boolean type SYCL language:

commit 1b8c0089ad79ee4765051ddfc722abc31d3ddac9
Author: Alexey Voronov <[email protected]>
Date:   Wed Mar 20 15:50:15 2019 +0300

    [SYCL] Enable ext_vector_type of boolean type for SYCL language.

    Signed-off-by: Vladimir Lazarev <[email protected]>
    Signed-off-by: Alexey Voronov <[email protected]>

Without it, compilation of SYCL headers fails with error:

lib/clang/10.0.0/include/CL/sycl/detail/boolean.hpp:53:48: error: invalid vector element type 'cl::sycl::detail::Boolean::element_type' (aka 'bool')
  using DataType = element_type __attribute__((ext_vector_type(N)));
@Fznamznon Fznamznon added the upstream This change is related to upstreaming SYCL support to llorg. label Dec 18, 2019
@Fznamznon Fznamznon self-assigned this Feb 11, 2020
@Fznamznon Fznamznon linked a pull request Mar 30, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream This change is related to upstreaming SYCL support to llorg.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants