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

Make < > <= >= == != works like in the spec for vec and id #295

Open
keryell opened this issue Jan 22, 2021 · 0 comments
Open

Make < > <= >= == != works like in the spec for vec and id #295

keryell opened this issue Jan 22, 2021 · 0 comments

Comments

@keryell
Copy link
Member

keryell commented Jan 22, 2021

While sycl::vec are similar to sycl::id for their vector-like structure, comparison operators are quite different according to the SYCL spec.
Right now sycl::vec and sycl::id comparisons works like std::array returning a bool instead of a sycl::vec.
According to the specification sycl::vec == returns a sycl::vec but sycl::id == returns a bool.
< > <= >= should return a vector of bool in any case.
This is somehow related to #82, #74, #40

@keryell keryell added the bug label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
SYCL C++ library
Awaiting triage
Development

No branches or pull requests

1 participant