diff options
author | luke <luke@codeplay.com> | 2016-11-03 18:07:30 +0000 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-11-15 19:33:44 -0800 |
commit | de01167a434fa3246d96b506d70f45fe933f55a3 (patch) | |
tree | 3fbc8732cf58a80fcdc9dd4514bae61858b7eca5 /tensorflow/core/kernels/cwise_ops_sycl_common.h | |
parent | f104cc97a4df0ec4c6e7994b99fc87b8222da0c6 (diff) |
Cleaned cwise_ops_sycl_common.h
Diffstat (limited to 'tensorflow/core/kernels/cwise_ops_sycl_common.h')
-rw-r--r-- | tensorflow/core/kernels/cwise_ops_sycl_common.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tensorflow/core/kernels/cwise_ops_sycl_common.h b/tensorflow/core/kernels/cwise_ops_sycl_common.h index c66ae42c2d..ba2e9c526a 100644 --- a/tensorflow/core/kernels/cwise_ops_sycl_common.h +++ b/tensorflow/core/kernels/cwise_ops_sycl_common.h @@ -42,7 +42,7 @@ template <typename Functor> struct UnaryFunctor<SYCLDevice, Functor> { void operator()(const SYCLDevice& d, typename Functor::tout_type out, typename Functor::tin_type in) { - To32Bit(out).device(d) = To32Bit(in).unaryExpr(typename Functor::func()); + LOG(FATAL) << "UnaryFunctor::operator() NOT IMPLEMENTED ! "; } }; @@ -64,11 +64,7 @@ struct BinaryFunctor<SYCLDevice, Functor, NDIMS, has_errors> { void Right(const SYCLDevice& d, typename Functor::tout_type out, typename Functor::tin_type in, typename Functor::tscalar_type scalar, bool* error) { - typedef typename Functor::out_type Tout; - typedef typename Functor::in_type Tin; - typedef typename Functor::func Binary; - typedef typename Eigen::internal::scalar_right<Tout, Tin, Binary> Unary; - Assign(d, out, in.unaryExpr(Unary(scalar.data()))); + LOG(FATAL) << "BinaryFunctor::Right NOT IMPLEMENTED ! "; } void BCast(const SYCLDevice& d, |