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