-
Notifications
You must be signed in to change notification settings - Fork 1.6k
RISCV64-CI: don't rely on dependency resolution for qemu-user #5506
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
base: develop
Are you sure you want to change the base?
Conversation
|
@ChipKerchner do we expect casts from bfloat16 to float32 to "just work" for C code on RISCV64 ? AFAICT this is not implemented at least in the cross-compiler setup that this gh workflow uses (even when using latest LLVM with latest riscv-gnu-toolchain), causing test failures as the intermediate |
|
Scalar casting should just work from bfloat16 to float. I don't see any issue. These are the qemu flags I use. |
|
Actually after I sync, I'm seeing a failure in sbgemm - sbgemv seems fine. BTW, I didn't write sbgemm. |
|
Thanks for the flags - unfortunately adding the missing ones did not change the outcome for me. And I'm getting |
|
Are you saying that some architectures besides RISC-V are using plain casts to float while others are using a external function? |
|
BTW, I tried an external function and I'm still getting failures. |
No, on the contrary I see RISC-V using plain casts while everything else uses an external function. |
|
Strange thing is SHGEMM uses the same type casting and all pass there. |
|
Yes, this got me thinking that maybe there is a conflict between the compiler having (or being expected to have) some "native" support for a floating point "bf16" type and OpenBLAS' fallback solution of assuming bfloat16 is an uint_16. |
|
Yes, unfortunately the BananaPi does NOT support the bf16 format. Another weird thing is the test pass for sizes 1 -> 100 but fail for size = 256. |
No description provided.