aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/cwise_ops_sycl_common.h
diff options
context:
space:
mode:
authorGravatar luke <luke@codeplay.com>2016-11-03 18:07:30 +0000
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-11-15 19:33:44 -0800
commitde01167a434fa3246d96b506d70f45fe933f55a3 (patch)
tree3fbc8732cf58a80fcdc9dd4514bae61858b7eca5 /tensorflow/core/kernels/cwise_ops_sycl_common.h
parentf104cc97a4df0ec4c6e7994b99fc87b8222da0c6 (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.h8
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,