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

Missing OpenCL 1.2 atoms for CL_DEVICE_PARTITION_FAILED and CL_INVALID_DEVICE_PARTITION_COUNT #37

Closed
arpieb opened this issue Mar 13, 2019 · 0 comments

Comments

@arpieb
Copy link
Contributor

arpieb commented Mar 13, 2019

As the title says, the OpenCL 1.2 error codes CL_INVALID_DEVICE_PARTITION_COUNT and CL_DEVICE_PARTITION_FAILED do not have matching atoms defined in cl_nif.c. When trying to create subdevices via cl.create_sub_device/2 if you encounter one of these errors you receive a return tuple of {:error, :unknown}.

Forked and updating the code, will put in a PR once completed.

tonyrog added a commit that referenced this issue Mar 13, 2019
#37: Added missing error atoms for CL_DEVICE_PARTITION_FAILED, CL_INVALID_DEVICE_PARTITION_COUNT
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