问题

什么是 SYCL 1.2?


我正在尝试安装 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

我该怎么办?什么是 SYCL1.2?

推荐答案

SYCL 是 OpenCL 的 C++抽象层。TensorFlow 对 OpenCL 的实验支持使用了 SYCL,并与支持 SYCL 的 C++编译器结合使用。

只有在构建支持 OpenCL 的 TensorFlow 时才需要 SYCL。./configure 执行期间的以下问题询问有关 OpenCL 的支持:

Do you wish to build TensorFlow with OpenCL support? [y/N]

如果您回答 N,则不必提供 SYCL 路径。