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

isequal is only defined on float values #1

Open
he-sk opened this issue Mar 13, 2019 · 0 comments
Open

isequal is only defined on float values #1

he-sk opened this issue Mar 13, 2019 · 0 comments
Assignees

Comments

@he-sk
Copy link
Collaborator

he-sk commented Mar 13, 2019

On the latest Intel OpenCL (18.1.0.013, installed through System Studio 2019), the kernels build_vec and probe_vec do not compile anymore.

According to the OpenCL specification, the builtin isequal is only defined for float types [1]. (It did work on integer types in previous versions.) It has to be replaced with a normal == operator.

See for example here:

inv = isequal(h_key, empty); // invalid entries

[1] https://www.khronos.org/registry/OpenCL/sdk/2.0/docs/man/xhtml/isequal.html

@he-sk he-sk self-assigned this Mar 14, 2019
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

No branches or pull requests

1 participant