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

have_bf16 always returns false on Nvidia Grace CPU (neoverse-v2) on Linux #54389

Open
giordano opened this issue May 7, 2024 · 0 comments
Open
Labels
system:arm ARMv7 and AArch64 system:linux Affects only Linux

Comments

@giordano
Copy link
Contributor

giordano commented May 7, 2024

Function have_bf16 always returns false on an Nvidia Grace CPU (Neoverse V2), despite the fact the bf16 extension is available. In particular, the function caller.hasFnAttribute("julia.hasbf16") at

static bool have_bf16(Function &caller, const Triple &TT) {
if (caller.hasFnAttribute("julia.hasbf16")) {
return true;
}
// there's no targets that fully support bfloat yet;,
// AVX512BF16 only provides conversion and dot product instructions.
return false;
}

is always 0. I tried also to compile from source with GCC 13, as suggested by @gbaraldi, but to no avail. CC: @maleadt.

@giordano giordano added system:linux Affects only Linux system:arm ARMv7 and AArch64 labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:arm ARMv7 and AArch64 system:linux Affects only Linux
Projects
None yet
Development

No branches or pull requests

1 participant