问题描述
我正在尝试安装 tensorflow
I am trying to install tensorflow
Please specify the location where ComputeCpp for SYCL 1.2 is installed. [Default is /usr/local/computecpp]:
Invalid SYCL 1.2 library path. /usr/local/computecpp/lib/libComputeCpp.so cannot be found
我该怎么办?什么是 SYCL 1.2?
What should I do?What is SYCL 1.2?
推荐答案
SYCL 是一个 C++ 抽象层对于 OpenCL.TensorFlow 的 对 OpenCL 的实验性支持使用 SYCL,并结合支持 SYCL 的 C++ 编译器.
SYCL is a C++ abstraction layer for OpenCL. TensorFlow's experimental support for OpenCL uses SYCL, in conjunction with a SYCL-aware C++ compiler.
正如 Yaroslav 在他的评论中指出的那样,只有在以下情况下才需要 SYCL您正在构建具有 OpenCL 支持的 TensorFlow../configure
执行过程中的以下问题询问 OpenCL 支持:
As Yaroslav pointed out in his comment, SYCL is only required if you are building TensorFlow with OpenCL support. The following question during the execution of ./configure
asks about OpenCL support:
Do you wish to build TensorFlow with OpenCL support? [y/N]
如果您回答 N
,则无需提供 SYCL 路径.
If you answer N
, you will not have to supply a SYCL path.
这篇关于什么是SYCL 1.2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!