Closed MathiasMagnus closed 6 years ago
hi @MathiasMagnus Thanks for the report.
I presume that you pointed ./config
to /opt/Codeplay/ComputeCpp/
when it asked for ComputeCpp installation path.
Otherwise this https://github.com/lukeiwanski/tensorflow/issues/193#issuecomment-354729010 might be helpful.
The workaround on your system would be to add: cxx_builtin_include_directory: "'/opt/Codeplay/ComputeCpp" to third_party/sycl/crosstool/CROSSTOOL.tpl around line 52
Thanks! Worked like a charm. Now comes usage. Should any issues arise, those will come as separate tickets.
Thanks again and keep up the good work! The more SYCL the merrier.
TensorFlow fails to build on Ubuntu 16.04 when doing things according to the wiki entry on Codeplays site.
System information
bazel build -c opt --config=sycl //tensorflow/tools/pip_package:build_pip_package
Describe the problem
Trying to build TF with OpenCL & SYCL support using ComputeCpp-CE 0.5.1.
Source code / logs
This is what's seen on console when build fails: