leezu edited a comment on issue #17047: Add build flag for x86 arch
URL: https://github.com/apache/incubator-mxnet/pull/17047#issuecomment-564907560
 
 
   @TaoLv From the wording alone I'd agree with you. But it seems that the 
wording is not precise:
   
   Quoting 
https://lemire.me/blog/2018/07/25/it-is-more-complicated-than-i-thought-mtune-march-in-gcc/
   
   > This has lead me to believe that “-march” trumps “-mtune” meaning that if 
you set “-march=native”, then the “-mtune” is effectively irrelevant.
   > 
   > I was wrong.
   
   In particular,  `march=native` doesn't imply `mtune=native`. But for 
example, `march=broadwell` implies `mtune=broadwell`. Thus if we use `native` 
with gcc, we must specify both `march` and `mtune`.

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


With regards,
Apache Git Services

Reply via email to