You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/02 01:54:19 UTC

[GitHub] ashokei commented on a change in pull request #10773: specify common arch for mkldnn build, so it can be reused on all arch

ashokei commented on a change in pull request #10773: specify common arch for mkldnn build, so it can be reused on all arch
URL: https://github.com/apache/incubator-mxnet/pull/10773#discussion_r185378012
 
 

 ##########
 File path: prepare_mkldnn.sh
 ##########
 @@ -93,7 +93,7 @@ if [ ! -f $MKLDNN_LIBFILE ]; then
     echo "Building MKLDNN ..." >&2
     cd $MXNET_ROOTDIR
 	g++ --version >&2
-    cmake $MKLDNN_ROOTDIR -DCMAKE_INSTALL_PREFIX=$MKLDNN_INSTALLDIR -B$MKLDNN_BUILDDIR -DARCH_OPT_FLAGS="-mtune=generic" >&2
+    cmake $MKLDNN_ROOTDIR -DCMAKE_INSTALL_PREFIX=$MKLDNN_INSTALLDIR -B$MKLDNN_BUILDDIR -DARCH_OPT_FLAGS="-mtune=generic -march=haswell" >&2
 
 Review comment:
   This should not impact mkldnn primitive execution, which are generated runtime based on underly arch. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services