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 2019/12/12 08:43:26 UTC
[GitHub] [incubator-mxnet] leezu edited a comment on issue #17047: Add build
flag for x86 arch
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:
users@infra.apache.org
With regards,
Apache Git Services