什么是SYCL 1.2?

Mot*_*taF 21 tensorflow

我正在尝试安装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
Run Code Online (Sandbox Code Playgroud)

我该怎么办?什么是SYCL 1.2?

mrr*_*rry 28

SYCL是OpenCL的C++抽象层.TensorFlow 对OpenCL 的实验性支持使用SYCL和SYCL识别的C++编译器.

正如Yaroslav在他的评论中指出的那样,只有在使用OpenCL支持构建TensorFlow时才需要SYCL.在执行./configure有关OpenCL支持的执行过程中出现以下问题:

Do you wish to build TensorFlow with OpenCL support? [y/N]
Run Code Online (Sandbox Code Playgroud)

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

  • TensorFlow的OpenCL实现目前正在使用ComputeCpp,它是SYCL的一个实现.您可以在https://www.codeplay.com/products/computesuite/computecpp下载此文件,并在请求时点在此提取的存档的根目录下. (11认同)