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

Can't build with outdated cl_ext.h #5

Closed
magnumripper opened this issue Sep 20, 2014 · 1 comment
Closed

Can't build with outdated cl_ext.h #5

magnumripper opened this issue Sep 20, 2014 · 1 comment

Comments

@magnumripper
Copy link
Contributor

Many systems (eg. with distro packages) has an outdated cl_ext.h. You might want to supply a fresh one from Khronos and include that instead, or perhaps include both.

src/clinfo.c: In function ‘printDeviceInfo’:
src/clinfo.c:595: error: ‘CL_DEVICE_PAGE_SIZE_QCOM’ undeclared (first use in this function)
src/clinfo.c:595: error: (Each undeclared identifier is reported only once
src/clinfo.c:595: error: for each function it appears in.)
src/clinfo.c:596: error: ‘CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM’ undeclared (first use in this function)
make: *** [clinfo.o] Error 1
@Oblomov
Copy link
Owner

Oblomov commented Sep 21, 2014

Thanks for the report. I've pushed a patch that adds those two defines to the local ext.h, this should fix it. Feel free to re-open the issue otherwise.

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

2 participants