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

port rvv intrinsic 1.0+ #5642

Merged
merged 79 commits into from
Dec 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
e434c85
rvv intrinsic 1.0+
nihui Aug 21, 2024
a2a6f81
apply code-format changes
nihui Aug 21, 2024
1bf24a7
w
nihui Aug 21, 2024
085d63f
ww
nihui Aug 21, 2024
46cd351
p
nihui Aug 21, 2024
270951e
z
nihui Aug 21, 2024
95561b4
NCNN_ZVFH macro
nihui Aug 21, 2024
2092d66
some zvfh infra
nihui Aug 21, 2024
d1ff67f
zfh to zvfh
nihui Aug 21, 2024
cfd92c3
q
nihui Aug 25, 2024
1b32abe
c
nihui Aug 25, 2024
505abcf
x
nihui Aug 25, 2024
f190d06
z
nihui Aug 25, 2024
8c063d4
z
nihui Aug 25, 2024
d765e85
apply code-format changes
nihui Aug 25, 2024
b5eb8d6
c
nihui Aug 26, 2024
49a3194
cc
nihui Aug 26, 2024
7e1f6b0
x
nihui Aug 26, 2024
8c68cf4
x
nihui Aug 26, 2024
401a2dd
x
nihui Aug 26, 2024
9117c40
x
nihui Aug 26, 2024
2463454
disable rvv dispatch
nihui Aug 26, 2024
a9f8d24
fix floor ceil
nihui Aug 26, 2024
e3d5104
fix m
nihui Aug 26, 2024
ad9d977
apply code-format changes
nihui Aug 26, 2024
7a3e9bd
fix selu
nihui Aug 27, 2024
30e79c2
dispatch for rvv and xtheadvector
nihui Aug 30, 2024
ddb7090
apply code-format changes
nihui Aug 30, 2024
454e647
Merge branch 'master' into ci-android-riscv
nihui Aug 30, 2024
e511dbc
Merge branch 'master' into ci-android-riscv
nihui Sep 4, 2024
4070966
Merge branch 'master' into ci-android-riscv
nihui Sep 18, 2024
2a462fe
Merge branch 'master' into ci-android-riscv
nihui Oct 12, 2024
97ff591
port xtheadvector recp rsqrt trunc
nihui Nov 16, 2024
c8add51
Merge branch 'master' into ci-android-riscv
nihui Nov 16, 2024
de0cf29
Merge branch 'master' into ci-android-riscv
nihui Nov 30, 2024
1ba5670
dispatch for zfh
nihui Nov 30, 2024
ee5a191
apply code-format changes
nihui Nov 30, 2024
0e3f4ee
cc
nihui Nov 30, 2024
b49bb82
apply code-format changes
nihui Nov 30, 2024
af5cb1b
z
nihui Nov 30, 2024
01eadf2
general rvv gemm
nihui Dec 1, 2024
152bb76
f
nihui Dec 2, 2024
39bea8d
apply code-format changes
nihui Dec 2, 2024
0afd063
c906 ci
nihui Dec 2, 2024
8d742a3
c
nihui Dec 2, 2024
808ad44
ci c910
nihui Dec 2, 2024
fefea29
define __riscv_zvfh
nihui Dec 2, 2024
cd493c5
cast zfh
nihui Dec 2, 2024
c3b9078
w
nihui Dec 2, 2024
c651d48
apply code-format changes
nihui Dec 2, 2024
13deef6
tuple clean
nihui Dec 2, 2024
94421cc
ff
nihui Dec 2, 2024
032b07a
apply code-format changes
nihui Dec 2, 2024
df7e93f
riscv64 clang ci
nihui Dec 3, 2024
36dc2c3
rename ci
nihui Dec 3, 2024
2b8e0f5
Merge branch 'master' into ci-android-riscv
nihui Dec 3, 2024
87573b4
reject xuantie gcc
nihui Dec 3, 2024
2a33a4a
qwq
nihui Dec 3, 2024
932fa71
s
nihui Dec 3, 2024
8f6f48f
coverage ci
nihui Dec 3, 2024
69e69f2
ff
nihui Dec 3, 2024
3b0565e
O1
nihui Dec 3, 2024
d4e9b72
z
nihui Dec 3, 2024
38121ef
o2
nihui Dec 3, 2024
0962199
rco
nihui Dec 3, 2024
54609bc
d
nihui Dec 3, 2024
ac53182
fix
nihui Dec 3, 2024
4aa6e7e
xtheadvector packing
nihui Dec 3, 2024
6aed213
c906 zfh off
nihui Dec 3, 2024
37be473
c906 hack
nihui Dec 3, 2024
bc4ec08
enable fp16
nihui Dec 3, 2024
8754523
ci
nihui Dec 3, 2024
d4785c4
update doc
nihui Dec 3, 2024
c8aa3d1
try newer compiler
nihui Dec 3, 2024
df6c7ba
Revert "try newer compiler"
nihui Dec 3, 2024
867cbe6
drop old th1520 toolchain
nihui Dec 4, 2024
fd2ffe1
fix gcov
nihui Dec 4, 2024
05b9ae8
u
nihui Dec 4, 2024
11b1e86
cc
nihui Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cc
  • Loading branch information
nihui committed Aug 26, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
joaosreis João Santos Reis
commit 49a31945d6c1380370a9b28d122d7251835a3a63
6 changes: 3 additions & 3 deletions src/layer/riscv/concat_riscv.cpp
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@ Concat_riscv::Concat_riscv()
{
#if __riscv_vector
support_packing = true;
#if __riscv_zvfh
support_fp16_storage = true;
#if NCNN_ZVFH
support_fp16_storage = cpu_support_riscv_zvfh();
#endif
#endif // __riscv_vector

@@ -40,7 +40,7 @@ int Concat_riscv::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>
{
int elembits = bottom_blobs[0].elembits();

#if __riscv_vector && __riscv_zvfh
#if NCNN_ZVFH
if (opt.use_fp16_storage && elembits == 16)
return forward_bf16s_fp16s(bottom_blobs, top_blobs, opt);
#endif
Loading