diff options
Diffstat (limited to 'tensorflow/core/kernels/cast_op_impl_double.cc')
-rw-r--r-- | tensorflow/core/kernels/cast_op_impl_double.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/cast_op_impl_double.cc b/tensorflow/core/kernels/cast_op_impl_double.cc index fd20061d21..fdc8d51158 100644 --- a/tensorflow/core/kernels/cast_op_impl_double.cc +++ b/tensorflow/core/kernels/cast_op_impl_double.cc @@ -34,4 +34,14 @@ GetGpuCastFromDouble(DataType dst_dtype) { } #endif // GOOGLE_CUDA +#ifdef TENSORFLOW_USE_SYCL +typedef Eigen::SyclDevice SYCLDevice; +std::function<void(OpKernelContext*, const Tensor&, Tensor*)> +GetSyclCastFromDouble(DataType dst_dtype) { + CURRY_TYPES3(CAST_CASE, SYCLDevice, double); + return nullptr; +} +#endif // TENSORFLOW_USE_SYC + } // namespace tensorflow + |