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

How to: OpenCL on ubuntu with intel CPU #45

Open
TheoFranquet opened this issue Oct 23, 2017 · 4 comments
Open

How to: OpenCL on ubuntu with intel CPU #45

TheoFranquet opened this issue Oct 23, 2017 · 4 comments

Comments

@TheoFranquet
Copy link

Install OpenCL library: sudo apt install ocl-icd-opencl-dev to get the code to compile

The following steps fixed: Exception from clGetPlatformIDs : Unknown -1001 for me when running test_opencl

Download intel-opencl-r5.0 (SRB5.0) Linux driver package from here

Follow install instructions Ubuntu 16.04.2 OS with vanilla 4.8 Kernel from this pdf(page 7)

@m8pple
Copy link
Contributor

m8pple commented Oct 23, 2017

Thanks for those, I'll link this issue in from the main readme.

@malharjajoo
Copy link

malharjajoo commented Oct 29, 2017

I tried the above, and it allows us to compile and run the code in test_opencl.cpp. However, it causes a runtime exception if you have an intel (integrated) HD Graphics Card.

I got the following error on running the executable for the test_opencl file -

image

@m8pple
Copy link
Contributor

m8pple commented Oct 30, 2017

Possibly #53 helps? Not sure, as I don't have a linux machine with Intel graphics.

@JunShern
Copy link

JunShern commented Nov 1, 2017

@malharjajoo Did you get this resolved?

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

4 participants