The Tensorflow code mentions &quot;GCUDACC&quot; in several places, and from the surrounding comments it seems to be targeted at OpenCL as well as CUDA.  So it seems that this has been at least considered.