diff options
author | A. Unique TensorFlower <nobody@tensorflow.org> | 2016-04-11 10:27:56 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-04-11 11:31:43 -0700 |
commit | 6e8e7cacf2cf40a0a41e53980d2786518c1a4a40 (patch) | |
tree | e02c06b513713706ad65c127449c34562dc3fb1b /tensorflow/core/kernels/gather_nd_op.cc | |
parent | a128dee224c19d60dd9b29a5ab54c9ec2a2c9470 (diff) |
Make the TF_CALL_*() macros drop the semicolon, instead putting that burden
on the caller. This allows us to use the macros for other purposes than
calling REGISTER_KERNEL, in particular in variadic template parameter lists.
Update REGISTER_KERNEL_BUILDER accordingly to add a semicolon, so that existing
code continues to compile.
Change: 119551677
Diffstat (limited to 'tensorflow/core/kernels/gather_nd_op.cc')
-rw-r--r-- | tensorflow/core/kernels/gather_nd_op.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/gather_nd_op.cc b/tensorflow/core/kernels/gather_nd_op.cc index 21e67afbfd..7957998157 100644 --- a/tensorflow/core/kernels/gather_nd_op.cc +++ b/tensorflow/core/kernels/gather_nd_op.cc @@ -200,7 +200,7 @@ namespace functor { const GPUDevice& d, typename TTypes<T, NDIM>::ConstTensor Tparams, \ typename TTypes<Index>::ConstMatrix Tindices, \ typename TTypes<T>::Flat Tout); \ - extern template struct GatherNd<GPUDevice, T, Index, NDIM> + extern template struct GatherNd<GPUDevice, T, Index, NDIM>; #define DECLARE_GPU_SPECS_INDEX(T, Index) \ DECLARE_GPU_SPECS_INDEX_NDIM(T, Index, 1); \ |