aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/pad_op.cc
diff options
context:
space:
mode:
authorGravatar Brian Patton <bjp@google.com>2018-06-25 11:42:17 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-25 11:45:02 -0700
commit7c5d31aa328c357345ca667b4f9cbd713f6367fe (patch)
treee1b442082c58f2ff59eac79648380556830bc1db /tensorflow/core/kernels/pad_op.cc
parentda3789cd66290db7fbfc43d2c5091c4b0273fbdd (diff)
Adds support for Pad of bool, complex64, and other types on GPU.
PiperOrigin-RevId: 201991185
Diffstat (limited to 'tensorflow/core/kernels/pad_op.cc')
-rw-r--r--tensorflow/core/kernels/pad_op.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/kernels/pad_op.cc b/tensorflow/core/kernels/pad_op.cc
index 41494f56c5..3b9133ed7e 100644
--- a/tensorflow/core/kernels/pad_op.cc
+++ b/tensorflow/core/kernels/pad_op.cc
@@ -320,7 +320,7 @@ namespace functor {
DECLARE_GPU_SPEC(T, 5); \
DECLARE_GPU_SPEC(T, 6);
-TF_CALL_GPU_NUMBER_TYPES(DECLARE_GPU_SPECS);
+TF_CALL_GPU_ALL_TYPES(DECLARE_GPU_SPECS);
TF_CALL_int8(DECLARE_GPU_SPECS);
} // namespace functor
@@ -353,7 +353,7 @@ TF_CALL_int8(DECLARE_GPU_SPECS);
.HostMemory("constant_values"), \
PadOp<GPUDevice, T, int64>)
-TF_CALL_GPU_NUMBER_TYPES(REGISTER_GPU_KERNEL);
+TF_CALL_GPU_ALL_TYPES(REGISTER_GPU_KERNEL);
TF_CALL_int8(REGISTER_GPU_KERNEL);
// A special GPU kernel for int32.