Override eigen strong inline to reduce windows build times for debugging the

failures.

PiperOrigin-RevId: 262857756
This commit is contained in:
A. Unique TensorFlower 2019-08-11 21:58:35 -07:00 committed by Goldie Gadde
parent 78b028c2d5
commit 689d40f473
2 changed files with 4 additions and 2 deletions

View File

@ -106,7 +106,8 @@ if [[ "$RELEASE_BUILD" == 1 ]]; then
# Overriding eigen strong inline speeds up the compiling of conv_grad_ops_3d.cc and conv_ops_3d.cc
# by 20 minutes. See https://github.com/tensorflow/tensorflow/issues/10521
# Because this hurts the performance of TF, we don't override it in release build.
export TF_OVERRIDE_EIGEN_STRONG_INLINE=0
# TODO(ggadde): Temporarily override for release builds as well to debug failures.
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
else
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
fi

View File

@ -106,7 +106,8 @@ if [[ "$RELEASE_BUILD" == 1 ]]; then
# Overriding eigen strong inline speeds up the compiling of conv_grad_ops_3d.cc and conv_ops_3d.cc
# by 20 minutes. See https://github.com/tensorflow/tensorflow/issues/10521
# Because this hurts the performance of TF, we don't override it in release build.
export TF_OVERRIDE_EIGEN_STRONG_INLINE=0
# TODO(ggadde): Temporarily override for release builds as well to debug failures.
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
else
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
fi