Replies: 1 comment
-
The topic of half-precision float comes up about once per year, but I don't think there's ever been sustained interest. The old commits you noticed are only about providing the default feature string to the compiler, but without any code for FP16 there is nothing where the compiler could use the zfh extension. (All OpenBLAS currently has is BFLOAT16, but I think it should be fairly easy to clone the generic parts from the initial set of BF16 patches to create a framework for FP16 support if_needed) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Half-precision float point is included in RISC-V RVA23 profile(AKA zfh, zfhmin, zvfh, zvfhmin). We could see that zfh is enabled in some variants[1][2]. But do not see any relative assembly code generated[3][4].
Is there plan to do it. or is there relative packages support or plan to support it? Thanks
[1] The Makefile.riscv64 we found
[2] Another relative commit(add zfh)
[3] our Makefile.riscv64
···
ifeq ($(TARGET), RISCV64_ZVL128B)
TARGET_FLAGS = -march=rv64imafdcv_zfh -mabi=lp64d
endif
Beta Was this translation helpful? Give feedback.
All reactions