Override EIGEN strong inline for release builds as well.
PiperOrigin-RevId: 282049163 Change-Id: I2fefa6ed9198aee013ce3bdc07d21dfb127833a7
This commit is contained in:
parent
4235b604cf
commit
b84b607c4b
@ -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=0
|
||||
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
|
||||
else
|
||||
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
|
||||
fi
|
||||
|
@ -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=0
|
||||
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
|
||||
else
|
||||
export TF_OVERRIDE_EIGEN_STRONG_INLINE=1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user