aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar James Qin <jamesqin@google.com>2018-10-08 17:40:07 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-08 17:48:41 -0700
commit934fde5b8c60987db36438ab4f70f8a91bce306b (patch)
tree3982ba0661f0af6f33aecc59bf6dbb26a8f358a5
parent4ff7b81514ea1b86295bc74b620e3c1d3e127e6f (diff)
Register int64 SUM GPU kernel.
PiperOrigin-RevId: 216280913
-rw-r--r--tensorflow/core/kernels/reduction_ops_sum.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/reduction_ops_sum.cc b/tensorflow/core/kernels/reduction_ops_sum.cc
index 5318d8c133..cf0d0f5c71 100644
--- a/tensorflow/core/kernels/reduction_ops_sum.cc
+++ b/tensorflow/core/kernels/reduction_ops_sum.cc
@@ -51,6 +51,7 @@ TF_CALL_NUMBER_TYPES(REGISTER_CPU_KERNELS);
.HostMemory("reduction_indices"), \
ReductionOp<GPUDevice, type, int64, Eigen::internal::SumReducer<type>>);
TF_CALL_GPU_NUMBER_TYPES(REGISTER_GPU_KERNELS);
+TF_CALL_int64(REGISTER_GPU_KERNELS);
TF_CALL_complex64(REGISTER_GPU_KERNELS);
TF_CALL_complex128(REGISTER_GPU_KERNELS);
#undef REGISTER_GPU_KERNELS