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

Error querying the number of OpenCL platforms in the system #36

Open
krikru opened this issue Jan 26, 2017 · 4 comments
Open

Error querying the number of OpenCL platforms in the system #36

krikru opened this issue Jan 26, 2017 · 4 comments

Comments

@krikru
Copy link
Contributor

krikru commented Jan 26, 2017

After following the instructions as closely as possible (I'm using Python3 and I have an Intel GPU, if you can call it that), when I run the mnist example (by running python3 convolutional.py from the terminal) I get the output

Extracting data/train-images-idx3-ubyte.gz
Extracting data/train-labels-idx1-ubyte.gz
Extracting data/t10k-images-idx3-ubyte.gz
Extracting data/t10k-labels-idx1-ubyte.gz
2017-01-26 22:30:09: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-01-26 22:30:09: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
terminate called after throwing an instance of 'cl::sycl::cl_exception'
  what():  Error: [ComputeCpp:RT0408] Error querying the number of OpenCL platforms in the system
Aborted

Why do I get this error (googling for the error message yields zero hits so I don't know where it is generated) and what can I do to fix it?

@krikru
Copy link
Contributor Author

krikru commented Jan 29, 2017

I solved it. The problem was that I hadn't installed Intel's OpenCL driver and library packages, only the Intel SDK for OpenCL Applications Package (apparently); my mistake was that I assumed that the SDK would include everything you needed to work with OpenCL. Maybe we can write something about this in the instructions.

@amalic
Copy link

amalic commented Feb 5, 2017

can someone close this issue?

@JulyJohn
Copy link

@krikru
you said you have an Intel GPU, I was wondering whether it means a Core graphics card Integrated in a CPU, like Intel HD530?

@krikru
Copy link
Contributor Author

krikru commented Oct 27, 2017

@JulyJohn I'm pretty sure the GPU was integrated on the CPU. It wasn't a very expensive laptop and I don't remember that it should have had a dedicated graphics card (which I think I should if it would have had one).

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

3 participants