FelixYBW commented on PR #7956: URL: https://github.com/apache/incubator-gluten/pull/7956#issuecomment-2484052368
> @surnaik, `-mno-avx512f` only disables the subset of avx512 instructions. I recommend you to remove the use of `-march=native` in cross compilation and set correct target cpu for compiler. For example, you can set `-march=haswell` if haswell is used on your side. If your cluster has diverse cpu architectures, you can just use generic setting for compiler. Alternatively, to make the binary fully optimized for newer cpu architecture, I think you have to customize gluten build with different `-march` set for different cpu architectures, instead of compiling once for universal use. -mno-avx512f should take effect after -march=native. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
