diff options
Diffstat (limited to 'tensorflow/core/kernels/cast_op_impl_uint8.cc')
-rw-r--r-- | tensorflow/core/kernels/cast_op_impl_uint8.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/cast_op_impl_uint8.cc b/tensorflow/core/kernels/cast_op_impl_uint8.cc index 1a5025b054..377c8ca953 100644 --- a/tensorflow/core/kernels/cast_op_impl_uint8.cc +++ b/tensorflow/core/kernels/cast_op_impl_uint8.cc @@ -34,4 +34,13 @@ GetGpuCastFromUint8(DataType dst_dtype) { } #endif // GOOGLE_CUDA +#ifdef TENSORFLOW_USE_SYCL +typedef Eigen::SyclDevice SYCLDevice; +std::function<void(OpKernelContext*, const Tensor&, Tensor*)> +GetSyclCastFromUint8(DataType dst_dtype) { + CURRY_TYPES3_NO_HALF(CAST_CASE, SYCLDevice, uint8); + return nullptr; +} +#endif // TENSORFLOW_USE_SYCL + } // namespace tensorflow |