projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0192a
)
RISCV64_GENERIC: Use generic kernel for DSDOT for better precision
author
Zhaofeng Li
<hello@zhaofeng.li>
Mon, 7 Jun 2021 22:50:23 +0000
(22:50 +0000)
committer
Zhaofeng Li
<hello@zhaofeng.li>
Mon, 7 Jun 2021 22:50:23 +0000
(22:50 +0000)
The implementation in `riscv64/dot.c` fails the `test_dsdot` test, and
the generic kernel seems to have better precision. Tested on SiFive
FU740 (HiFive Unmatched) and QEMU.
Also see #1469.
kernel/riscv64/KERNEL.RISCV64_GENERIC
patch
|
blob
|
history
diff --git
a/kernel/riscv64/KERNEL.RISCV64_GENERIC
b/kernel/riscv64/KERNEL.RISCV64_GENERIC
index ea6a8cf21be41164ed66c37ea8a627cc077b48af..61a8a2b918be68384d58bb999c880dfcaf9fbeb9 100644
(file)
--- a/
kernel/riscv64/KERNEL.RISCV64_GENERIC
+++ b/
kernel/riscv64/KERNEL.RISCV64_GENERIC
@@
-54,6
+54,7
@@
SDOTKERNEL = ../riscv64/dot.c
DDOTKERNEL = ../riscv64/dot.c
CDOTKERNEL = ../riscv64/zdot.c
ZDOTKERNEL = ../riscv64/zdot.c
+DSDOTKERNEL = ../generic/dot.c
SNRM2KERNEL = ../riscv64/nrm2.c
DNRM2KERNEL = ../riscv64/nrm2.c