diff --git a/tensorflow/core/kernels/BUILD b/tensorflow/core/kernels/BUILD index 01f219c8d03..12e10bbf09d 100644 --- a/tensorflow/core/kernels/BUILD +++ b/tensorflow/core/kernels/BUILD @@ -6149,6 +6149,7 @@ filegroup( ) ANDROID_TEXTUAL_HDRS = [ + "eigen_spatial_convolutions-inl.h", "gather_nd_op_cpu_impl.h", "gemm_functors.h", "mirror_pad_op_cpu_impl.h", diff --git a/tensorflow/core/kernels/redux_functor.h b/tensorflow/core/kernels/redux_functor.h index ee60008f11d..05a867ab007 100644 --- a/tensorflow/core/kernels/redux_functor.h +++ b/tensorflow/core/kernels/redux_functor.h @@ -16,7 +16,11 @@ limitations under the License. #ifndef TENSORFLOW_CORE_KERNELS_REDUX_FUNCTOR_H_ #define TENSORFLOW_CORE_KERNELS_REDUX_FUNCTOR_H_ +#define EIGEN_USE_THREADS + #include "third_party/eigen3/Eigen/Core" +#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" +#include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/platform/types.h" diff --git a/tensorflow/examples/android/jni/object_tracking/jni_utils.h b/tensorflow/examples/android/jni/object_tracking/jni_utils.h index 06048ecfd36..5f622a2e65f 100644 --- a/tensorflow/examples/android/jni/object_tracking/jni_utils.h +++ b/tensorflow/examples/android/jni/object_tracking/jni_utils.h @@ -16,6 +16,7 @@ limitations under the License. #ifndef TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_JNI_UTILS_H_ #define TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_JNI_UTILS_H_ +#include #include #include "tensorflow/examples/android/jni/object_tracking/utils.h" diff --git a/tensorflow/examples/android/jni/object_tracking/sprite.h b/tensorflow/examples/android/jni/object_tracking/sprite.h index b54a68458f1..964f1c30bfa 100755 --- a/tensorflow/examples/android/jni/object_tracking/sprite.h +++ b/tensorflow/examples/android/jni/object_tracking/sprite.h @@ -16,16 +16,14 @@ limitations under the License. #ifndef TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_SPRITE_H_ #define TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_SPRITE_H_ +#ifdef __RENDER_OPENGL__ + #include #include #include "tensorflow/examples/android/jni/object_tracking/image-inl.h" #include "tensorflow/examples/android/jni/object_tracking/image.h" -#ifndef __RENDER_OPENGL__ -#error sprite.h should not included if OpenGL is not enabled by platform.h -#endif - namespace tf_tracking { // This class encapsulates the logic necessary to load an render image data @@ -199,4 +197,6 @@ class Sprite { } // namespace tf_tracking +#endif // __RENDER_OPENGL__ + #endif // TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_SPRITE_H_