lukeiwanski / tensorflow

OpenCL support for TensorFlow via SYCL
Apache License 2.0
65 stars 14 forks source link

[SYCL] Force to link OpenCL with SYCL #183

Closed Rbiessy closed 6 years ago

Rbiessy commented 6 years ago

I had issues when try to build //tensorflow/tools/pip_package:build_pip_package where OpenCL was not linked. I remember it's not the first time I had this and there may be a command line option to fix it but I couldn't find it anymore. I tried several things with --linkopt="-lOpenCL" and similar options but it only fixed the issue for some targets...

I think we should always link with libOpenCL.so anyway so it's probably best to add it here?