diff options
author | 2018-03-29 10:50:46 -0700 | |
---|---|---|
committer | 2018-03-29 10:52:55 -0700 | |
commit | 63dffd5a3bc4e94e74cb140cbf7a68e0e5644ad6 (patch) | |
tree | 087e334cd7e71d44cdcd1ce5ebab483768fcf474 /tensorflow/core/kernels/segment_reduction_ops.h | |
parent | 9fbb5b3b8fef1caa2ee2ca4a0f8dde900d1f2aa5 (diff) |
Automated g4 rollback of changelist 190858242
PiperOrigin-RevId: 190953197
Diffstat (limited to 'tensorflow/core/kernels/segment_reduction_ops.h')
-rw-r--r-- | tensorflow/core/kernels/segment_reduction_ops.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/segment_reduction_ops.h b/tensorflow/core/kernels/segment_reduction_ops.h index 4abfbfb1a6..7badc00572 100644 --- a/tensorflow/core/kernels/segment_reduction_ops.h +++ b/tensorflow/core/kernels/segment_reduction_ops.h @@ -23,6 +23,13 @@ limitations under the License. // non-GPU targets. This only breaks in clang, because it's more strict for // template code and CudaAtomicMax is used in template context. +// This file requires the following include because it uses CudaAtomicMax: +// #include "tensorflow/core/util/cuda_kernel_helper.h" + +// Unfortunately we can't add the #include, since it breaks compilation for +// non-GPU targets. This only breaks in clang, because it's more strict for +// template code and CudaAtomicMax is used in template context. + #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" |