Override EIGEN strong inline for release builds as well.

PiperOrigin-RevId: 284261705
Change-Id: I882c786169fb2d51716c884c9b1c91b59ae2df4e
This commit is contained in:
A. Unique TensorFlower 2019-12-06 14:22:22 -08:00 committed by TensorFlower Gardener
parent e7b00a13d4
commit d14373ec79
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ 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=1
export TF_OVERRIDE_EIGEN_STRONG_INLINE=0
else
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
fi

View File

@ -104,7 +104,7 @@ 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=1
export TF_OVERRIDE_EIGEN_STRONG_INLINE=0
else
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
fi