Skip to content

Instantly share code, notes, and snippets.

@pasikon
Last active November 2, 2017 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pasikon/3afc25b643a4d5bafafba34e914a6362 to your computer and use it in GitHub Desktop.
Save pasikon/3afc25b643a4d5bafafba34e914a6362 to your computer and use it in GitHub Desktop.
sudo apt-get install python3-tk
export TF_NEED_OPENCL=1
export HOST_CXX_COMPILER=/usr/bin/g++
export HOST_C_COMPILER=/usr/bin/gcc
export COMPUTECPP_TOOLKIT_PATH=/usr/local/computecpp
bazel build -c opt --config=sycl //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
sudo pip3 install /tmp/tensorflow_pkg/tensorflow-1.4.0rc1-cp35-cp35m-linux_x86_64.whl 
export LD_LIBRARY_PATH=/usr/local/computecpp/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment