tensorflow-opencl icon indicating copy to clipboard operation
tensorflow-opencl copied to clipboard

No open-cl documentation

Open Whytehorse opened this issue 8 years ago • 7 comments

Very confused. How does one install and test this? It's basically just a big old directory with lots of files and the readme is just a copy of the tensorflow install which tell you how to install tensorflow, not tensorflow-opencl.

Whytehorse avatar Jan 02 '17 01:01 Whytehorse

Thanks for you interest. Please take a look at the OpenCL specific section of the overall documentation. This will be published on the tensorflow.org site soon.

benoitsteiner avatar Jan 02 '17 12:01 benoitsteiner

Hello, Thanks. Will wait for you guys to official open it up on tensorflow.org site. I hope intel gpus are supported as the documentation under the opencl specific section only talks about AMD

atlury avatar Jan 02 '17 19:01 atlury

I looked there. I get a bunch of errors when running configure for tensorflow, like this: ERROR: /home/ben/tensorflow-opencl-master/tensorflow/workspace.bzl:17:3: //external:eigen_archive: no such attribute 'urls' in 'new_http_archive' rule. Ok, I resolved this. It's a known bug in bazel https://github.com/tensorflow/tensorflow/issues/6436

Whytehorse avatar Jan 02 '17 23:01 Whytehorse

atlury, any gpu which has drivers that support OpenCL 1.2 will work with this tensorflow-opencl. I'm currently testing it on AMD APU called Kaveri A10-7850K, aka STEAMROLLER!!!!!!!

Whytehorse avatar Jan 03 '17 00:01 Whytehorse

anyway, I got it to compile and install via pip3. Thank you for all of this. One more thing I think needs to be clarified is --copt=-march=native. This is supposed to optimize tensorflow to take advantage of my CPU features. But I can't find a list of those optimizations. Is there a file which lists all of these? Found a list of gcc options here: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html On a AMD A10-7850k the one that worked and compiled was bdver3

Whytehorse avatar Jan 03 '17 02:01 Whytehorse

Is this going to be merged with the main tensorflow project at some point?

outlace avatar Apr 08 '17 06:04 outlace

@benoitsteiner Your link https://github.com/benoitsteiner/tensorflow-opencl/blob/master/tensorflow/g3doc/get_started/os_setup.md#optional-install-opencl-experimental-linux-only
is 404

Mandrewoid avatar Feb 26 '18 10:02 Mandrewoid