Skip to content

SYCL Headers use vector aliases which doesn't exist in SYCL spec #7888

Closed
@AlexeySachkov

Description

@AlexeySachkov

Describe the bug

SYCL 2020 spec describes different set of vector aliases comparing to SYCL 1.2.1 spec

In particular, aliases like cl_int2 -> vec<cl_int, 2> are now don't exist in the spec. However, they are still used in our implementation, for example:

template <int Dims = Dimensions, typename = detail::enable_if_t<Dims == 2>>
range<2> get_range() const {
cl_int2 Range = getRangeInternal();
return range<2>(Range[0], Range[1]);
}

I suppose that we want to get rid of those extra aliases to simplify our codebase and maintenance effort, but before doing so, we need to stop using those aliases internally first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions