Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google Tensorflow support OpenCL

Does Google Tensorflow support OpenCL... or is it still only Cuda?

OpenCL does not appear to be supported yet (April 2017) per this open issue - https://github.com/tensorflow/tensorflow/issues/22 but I keep reading that support exists -- I might be missing something.

like image 940
NumberCrunchy55 Avatar asked Apr 28 '17 01:04

NumberCrunchy55


2 Answers

tf-coriander is an implementation of Tensorflow for OpenCL 1.2 GPUs. It's based on coriander, which is a general compiler to run NVIDIA® CUDA™ code on OpenCL 1.2 devices. Disclosure: I'm the author, of both projects.

like image 149
Hugh Perkins Avatar answered Oct 16 '22 23:10

Hugh Perkins


There is OpenCL support via SYCL on Tensorflow, some features are in, others are in progress: https://github.com/tensorflow/tensorflow/issues/22#issuecomment-266050835

like image 31
Ruyk Avatar answered Oct 16 '22 23:10

Ruyk