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

assert(res) failed in cpu_setup_vector_widths() on non-mainstream architectures #778

anbe42 opened this issue Sep 27, 2019 · 1 comment


Copy link

@anbe42 anbe42 commented Sep 27, 2019

clinfo: /<<PKGBUILDDIR>>/lib/CL/ void cpu_setup_vector_widths(cl_device_id): Assertion `res' failed.

This happens on several architectures when pocl 1.3 is built with llvm 7 or llvm 8, but not with llvm 6.0. Obviously llvm::sys::getHostCPUFeatures(features) does return false in the newer llvm versions on these platforms. The build has never been successful on these platforms because some tests were failing (and noone analyzed them deeper, yet) but this type of failure is new.

Build logs showing this issue are available from (1.3-8 was built with llvm 8, 1.3-5, ..., 1.3-7 were built with llvm 3.7 and <= 1.3-4 was built with llvm 6.0)


This comment has been minimized.

Copy link

@franz franz commented Mar 25, 2020

fixed in master

@franz franz closed this Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.