Saturday, 3 March 2018

Compiling Tensorflow with OpenCL SYCL on Intel GPU/CPU

Useful resources:

I had the same problem but solved the import error as following

I have the computecpp folder stored at /usr/local/computecpp.
By default, is under computercpp/lib.
So do > export LD_LIBRARY_PATH=/usr/local/computecpp/lib to add the path
Now import should work.

What has worked out-of-the-box:

The only distribution that compiles fine  - without any modification

The issue is with Intel drivers - when running tensorflow training, intel GPU device is not detected - while CPU is detected but the code hangs - might require compiling of linux header with a patch.

Till now no success in getting the device and running it