Skip to content

Commit db82251

Browse files
author
Jonathan Hseu
committed
Add MAVX2_FMA_DBG build option and rename MAVXDBG to MAVX_DBG.
1 parent 430b105 commit db82251

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tensorflow/tools/ci_build/ci_parameterized_build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
# support for Google Cloud Platform (GCP), which is
8484
# enabled by default.
8585
# TF_BUILD_OPTIONS:
86-
# (FASTBUILD | OPT | OPTDBG | MAVX | MAVX2)
86+
# (FASTBUILD | OPT | OPTDBG | MAVX | MAVX2 | MAVX_DBG |
87+
# MAVX2_FMA_DBG)
8788
# Use the specified configurations when building.
8889
# When set, overrides TF_BUILD_IS_OPT and TF_BUILD_MAVX
8990
# options, as this will replace the two.
@@ -304,12 +305,15 @@ else
304305
MAVX)
305306
OPT_FLAG="${OPT_FLAG} -c opt --copt=-mavx"
306307
;;
307-
MAVXDBG)
308+
MAVX_DBG)
308309
OPT_FLAG="${OPT_FLAG} -c opt --copt=-g --copt=-mavx"
309310
;;
310311
MAVX2)
311312
OPT_FLAG="${OPT_FLAG} -c opt --copt=-mavx2"
312313
;;
314+
MAVX2_FMA_DBG)
315+
OPT_FLAG="${OPT_FLAG} -c opt --copt=-g --copt=-mavx2 --copt=-mfma"
316+
;;
313317
esac
314318
fi
315319

0 commit comments

Comments
 (0)