nihui
44eb28fadc
fix cast arm packing test
6 years ago
nihui
52ce59e672
fix build with requant option on
6 years ago
nihui
f214883203
cast between float32 and bfloat16
6 years ago
Cai Shanli
0281e51fe5
named all enum types ( #1570 )
6 years ago
nihui
9929d52885
less duplicated code for crop layer, slice axes starts from 0
6 years ago
nihui
61ae6e865e
fix vkallocator flush invalidate size
6 years ago
nihui
57bedd59fa
fix build without neon
6 years ago
nihui
7c97142524
old qcom adreno driver seems to have the same bug as mali does
6 years ago
nihui
82fa27967e
priorbox shader fix
6 years ago
zhiliu6
2606d2a2c9
Fix AVX convolution problem. ( #1549 )
6 years ago
nihui
bdc6681d44
replace nullptr to 0, fix build on old toolchain, fix #1541
6 years ago
zhiliu6
01bfdb0ce5
Optimize FP32/FP16 conversion with AVX intrinsic. ( #1545 )
* optimize yolov3 output extraction speed.
* Optimize FP32/FP16 conversion with AVX intrinsics.
6 years ago
nihui
cd8e0d8045
fix crop arm without packing, fix #1546
6 years ago
nihui
362100936d
fix scale pack4
6 years ago
nihui
61956069ae
fix pack8 condition
6 years ago
nihui
9821be7a42
create pack8 pipeline only if shader_pack8 is enabled
6 years ago
nihui
90cc9c1a50
fix build
6 years ago
nihui
bbaa4dcce2
compile fp16pa, optimize shader for size, enable implicit fp16 arithmetic for qcom855 and qcom855plus
6 years ago
nihui
719d9f48ae
im2col wrt sgemm convolution option
6 years ago
nihui
f1996411b6
fix instancenorm fp16p
6 years ago
nihui
4ca0c3c4ab
fix concat fp16p
6 years ago
nihui
759d653663
fix various fp16p issues, fix #1540
6 years ago
nihui
7ae585f217
shape hint is elemsize aware
6 years ago
nihui
f4b1760a38
pixelshuffle vulkan, pixelshuffle test
6 years ago
nihui
bc524b6da8
pixelshuffle
6 years ago
Cai Shanli
0ccd2da219
named enum ncnn::Mat::PixelType ( #1539 )
for pyncnn python wrapper
6 years ago
nihui
0f7e7bca02
shader shape specialization constant and basic local group size partition ( #1523 )
* use Mat class for Shape description
* shape specialization constant in compute shader
* wip
* wip
* test forward_inplace, add binaryop unaryop sigmoid test
* fix arm unaryop test
* fix arm binaryop test
* make shape hint optional, cast int8 to fp32, add cast test
* wip
* follow the good and old local size setting for conv1x1
* the optimal local size rewrite
* fix build on msvc
* add permute shader for all packing layout, add permute test
* concat and slice patial shape constant, slice test
* fix slice test
* interp test
* add lrn test, test packing layout implicitly
* add eltwise test
* add normalize test
* add instancenorm test
* reorg shape constant
* simple local group size partition
* add shape constant param
6 years ago
nihui
25eb060b7c
fix potential crash on int8 convolution with no bias
6 years ago
nihui
e2bd4eae6e
write shape as 4-number tuple
6 years ago
tpoisonooo
e37dba131a
fix compile warnings ( #1518 )
6 years ago
nihui
6cefaad957
ncnnoptimize shape inference, load shape hint
6 years ago
nihui
a718129d76
shader pack8 option works
6 years ago
nihui
a9d2cb8d6b
enable pack8 shaders for layers without shape changes
6 years ago
nihui
5938d6c428
reorg pack8 shader
6 years ago
nihui
3b83c767c4
conv1x1s1 conv3x3s1 winograd23 pack8 shader
6 years ago
nihui
b2819d9dfc
crop flatten pack8 shader fix
6 years ago
nihui
e050d596b0
fix convolution int8 requant test on x86
6 years ago
nihui
2b624686e6
crop pack8 shader
6 years ago
tpoisonooo
2e51b026ce
fix some boring compile warnings ( #1510 )
6 years ago
nihui
db9b3ab40f
packing shall support vulkan
6 years ago
nihuini
0ebb0e1903
fix batchnorm arm pack4 on vec and image
6 years ago
nihui
e8052e830e
add more pack8 shaders
6 years ago
nihui
4c381bee47
reduce reshape pack4 bandwidth, add some pack8 shaders
6 years ago
tpoisonooo
7168829f06
Fix int8 requant ( #1499 )
* skip compile caffe tools
* add convolution_int8 requant test
* fix
* test int8requant
* revert code
* clean code
* fix CI error
* resolve review advices
* Update convolution_arm.cpp
Co-authored-by: nihui <shuizhuyuanluo@126.com>
6 years ago
Cai Shanli
4a1ff55d9e
baseclass Pipeline use virtual destruction ( #1504 )
baseclass Pipeline use virtual destruction
6 years ago
nihui
bfe8a86788
the very first pack8 shaders
6 years ago
nihui
71b11d3457
fix convolution x86 dilation path
6 years ago
nihui
33b16811ce
reimplement sfp afp conversion macro as function style buffer load store, drop lds shader for the moment
6 years ago
nihui
34db884906
pooling test, the more naive avgpool_count_include_pad==0 path
6 years ago
nihui
5042d14d7d
define sfpvec8 afpvec8 macro, use modern glsl extension for fp16 arithmetic, fix padding aarch64 build
6 years ago