Skip to content

Upstream bool vectors support for SYCL #945

Closed
@Fznamznon

Description

@Fznamznon

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)));

Metadata

Metadata

Assignees

Labels

upstreamThis change is related to upstreaming SYCL support to llorg.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions