aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/reduction_ops_prod.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/kernels/reduction_ops_prod.cc')
-rw-r--r--tensorflow/core/kernels/reduction_ops_prod.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/tensorflow/core/kernels/reduction_ops_prod.cc b/tensorflow/core/kernels/reduction_ops_prod.cc
index f841a981b4..33f6ae6bae 100644
--- a/tensorflow/core/kernels/reduction_ops_prod.cc
+++ b/tensorflow/core/kernels/reduction_ops_prod.cc
@@ -54,19 +54,10 @@ TF_CALL_complex128(REGISTER_GPU_KERNELS);
.TypeConstraint<int32>("Tidx") \
.HostMemory("reduction_indices"), \
ReductionOp<SYCLDevice, type, Eigen::internal::ProdReducer<type>>);
+REGISTER_SYCL_KERNELS(int32);
REGISTER_SYCL_KERNELS(float);
REGISTER_SYCL_KERNELS(double);
#undef REGISTER_SYCL_KERNELS
-
-REGISTER_KERNEL_BUILDER(
- Name("Prod")
- .Device(DEVICE_SYCL)
- .TypeConstraint<int32>("T")
- .TypeConstraint<int32>("Tidx")
- .HostMemory("input")
- .HostMemory("output")
- .HostMemory("reduction_indices"),
- ReductionOp<CPUDevice, int32, Eigen::internal::ProdReducer<int32>>);
#endif // TENSORFLOW_USE_SYCL
} // namespace tensorflow