diff options
author | Vijay Vasudevan <vrv@google.com> | 2015-11-18 16:41:37 -0800 |
---|---|---|
committer | Vijay Vasudevan <vrv@google.com> | 2015-11-18 16:41:37 -0800 |
commit | f7918e1dcd5b0c1f8114f488fc35a63a81e94535 (patch) | |
tree | 801a5280729f2ea53cf6a16c29a63f352b65a0de /third_party/eigen3/Eigen/src/Core | |
parent | ab34d55ce7618e52069a2e1c9e51aac5a1ea81c3 (diff) |
TensorFlow: Removal of large assets and small other fixes.
Changes:
- Remove all large assets from the repoistory, incuding the other 50MiB
model protobuf and a lot of images in our g3doc directory. We will
maintain these assets externally for now. g3doc images may be
broken for a little bit, but the website will be fine, which
is the important resource. By @vrv and @petewarden. Updates
READMES to reflect the external model resources.
- Fix to saver's latest_checkpoint function by Zhifeng
- Made protos visibility public by @vrv
- Updates to docs by @mrry, Andy
- Embed tensorboard resource for summary icon by Daniel
- More updates to backwars compat by @josh11b
Base CL: 108194981
Diffstat (limited to 'third_party/eigen3/Eigen/src/Core')
-rw-r--r-- | third_party/eigen3/Eigen/src/Core/util/Macros.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/third_party/eigen3/Eigen/src/Core/util/Macros.h b/third_party/eigen3/Eigen/src/Core/util/Macros.h index 729a451324..b531327afb 100644 --- a/third_party/eigen3/Eigen/src/Core/util/Macros.h +++ b/third_party/eigen3/Eigen/src/Core/util/Macros.h @@ -296,10 +296,14 @@ // 16 byte alignment on all platforms where vectorization might be enabled. In theory we could always // enable alignment, but it can be a cause of problems on some platforms, so we just disable it in // certain common platform (compiler+architecture combinations) to avoid these problems. -// Only static alignment is really problematic (relies on nonstandard compiler extensions that don't -// work everywhere, for example don't work on GCC/ARM), try to keep heap alignment even -// when we have to disable static alignment. -#if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64) +// Only static alignment is really problematic (relies on nonstandard compiler extensions), +// try to keep heap alignment even when we have to disable static alignment. +#if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64) +#define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 1 +#elif EIGEN_ARCH_ARM_OR_ARM64 && EIGEN_COMP_GNUC_STRICT && EIGEN_GNUC_AT_MOST(4, 6) +// Old versions of GCC on ARM, at least 4.4, were once seen to have buggy static alignment support. +// Not sure which version fixed it, hopefully it doesn't affect 4.7, which is still somewhat in use. +// 4.8 and newer seem definitely unaffected. #define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 1 #else #define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 0 |