Skip to content

Instantly share code, notes, and snippets.

@mirh
Last active January 30, 2018 21:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
SYCL tensorflow on arch
yaourt computecpp
# register and manually download into temp build folder https://developer.codeplay.com/computecppce/latest/download
sudo pacman -S bazel python-numpy python-pip python-wheel
wget https://codeload.github.com/lukeiwanski/tensorflow/zip/dev/amd_gpu
unzip amd_gpu
cd tensorflow-dev-amd_gpu
export TF_NEED_JEMALLOC=1
export TF_NEED_GCP=0
export TF_NEED_HDFS=0
export TF_NEED_S3=0
export TF_ENABLE_XLA=1
export TF_NEED_GDR=0
export TF_NEED_VERBS=0
export TF_NEED_OPENCL_SYCL=1
export TF_NEED_COMPUTECPP=1
export TF_NEED_CUDA=0
export TF_NEED_MPI=0
export TF_SET_ANDROID_WORKSPACE=0
./configure
# https://developer.codeplay.com/computecppce/latest/getting-started-with-tensorflow#BuildingTensorflowSourceWithComputecpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment