Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[finufft] Support for AVX512 platforms #6009

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

jkrimmer
Copy link
Contributor

Currently, FINUFFT.jl does not work on the new Zen 4 Ryzen series since there is no binary for AVX512 platforms available in finufft_jll. Hence, disable AVX512 via CFLAGS on x86 to provide binaries for AVX512 platforms such as Zen 4 without introducing the performance issues mentioned in the comment of line 38.

Currently, FINUFFT.jl does not work on the new Zen 4 Ryzen series since there is no binary for AVX512 platforms available in finufft_jll. Hence, disable AVX512 via CFLAGS on x86 to provide binaries for AVX512 platforms such as Zen 4 without introducing the performance issues mentioned in the comment of line 38.
@jkrimmer jkrimmer changed the title Support for AVX512 platforms [finufft] Support for AVX512 platforms Dec 19, 2022
@@ -36,7 +39,7 @@ install -Dvm 0755 "lib/libfinufft.${dlext}" "${libdir}/libfinufft.${dlext}"

# Expand for microarchitectures on x86_64 (library doesn't have CPU dispatching)
# Tests on Linux/x86_64 yielded a slow binary with avx512 for some reason, so disable that
platforms = expand_cxxstring_abis(expand_microarchitectures(supported_platforms(), ["x86_64", "avx", "avx2"]); skip=!Sys.iswindows)
platforms = expand_cxxstring_abis(expand_microarchitectures(supported_platforms(), ["x86_64", "avx", "avx2", "avx512"]); skip=!Sys.iswindows)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, well, it works precisely because you disabled avx512 instructions.

@giordano giordano merged commit 2b70d6e into JuliaPackaging:master Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants