nihui
9022b7162a
implement all explicit binaryop broadcast types ( #4809 )
* simplify binaryop
* less gpu test
* update binaryop broadcast doc
* do not test atan2 zero
3 years ago
張小凡
ec0a8503c5
Fix function recursion errors under some low-version c++ linux compilers ( #4768 )
3 years ago
nihui
7883f4d0c3
shadowed variable for less openmp task args ( #4744 )
3 years ago
Shirui Cao
7646392d3e
Fix clang-cl.exe compatibility by using the correct cpuid() built-in function ( #4738 )
3 years ago
nihui
903ec7c2c9
fix overwrite builtin layer destruction ( #4732 )
* fix overwrite builtin layer destruction
* make modelbin class copyable
* test++
3 years ago
nihui
f893d2440d
innerproduct allow 1 height gemm ( #4730 )
3 years ago
nihui
1b4a8fd4b2
fix warnings and code clean ( #4729 )
3 years ago
張小凡
0e09ae1290
Reimplement the sleep() and get_current_time() functions using modern C++. ( #4677 )
3 years ago
nihui
2b87dc2cf7
force global cpu info initialization ( #4725 )
* force global cpu info initialization
* sanitize zero nT
3 years ago
nihui
15cf81c40d
workaround multiheadattention vulkan nan issue on nvidia gpu ( #4682 )
* fix vulkan validation error, prefer VK_KHR_buffer_device_address over VK_EXT_buffer_device_address
* enable validation extension features
3 years ago
nihui
249b264336
workaround moltenvk error on spec const composite op ( #4714 )
* workaround moltenvk error on spec const composite op
* workaround moltenvk crying on binding image with memory offset
3 years ago
nihui
7fb16be32a
fix aarch64 build without fp16 conversion intrinsics ( #4713 )
* fix aarch64 build without fp16 conversion intrinsics
* vfpv4 always implies neon
3 years ago
nihui
097e3537ac
fix build with gcc-5.4 aarch64 ( #4703 )
3 years ago
jason_w
48f9bcfce2
place the `if` statement outside the `for` loop ( #4707 )
3 years ago
nihui
8c7c21b5fb
fix fp resource leak in cpu.cpp ( #4704 )
3 years ago
nihui
a37a83d850
clip gelu mish tanh 4d ( #4695 )
3 years ago
nihui
cd5a6098a2
sigmoid and swish 4d ( #4692 )
3 years ago
nihui
72a3e5141f
fix vulkan validation error, prefer VK_KHR_buffer_device_address over VK_EXT_buffer_device_address ( #4680 )
3 years ago
nihui
c28c8c04a1
multiheadattention attn mask ( #4668 )
3 years ago
zhiliu6
125b9f2baf
reduce double usage ( #4671 )
3 years ago
nihui
b640574b88
rough vulkan gemm and multiheadattention ( #4618 )
3 years ago
Yoh
bd15e32517
move x86 abs_mathfun to x86_mathfun ( #4659 )
* move x86 abs_mathfun to x86_mathfun
* Improve the implementation of AVX and AVX512F abs.
* Unified naming rules
---------
Co-authored-by: MouriNaruto <Mouri_Naruto@Outlook.com>
3 years ago
nihui
e006aa8007
fix extension not present error ( #4655 )
3 years ago
Kenji Mouri
f2a5a81a5d
Add AVX512F implementation of atan2 in x86 targets. ( #4641 )
3 years ago
nihui
a2106f840f
setup more extension entrypoint ( #4636 )
3 years ago
Kenji Mouri
d802acd205
Add SSE and AVX implementation of atan2 in x86 targets. ( #4633 )
3 years ago
張小凡
d87e895a1f
Add get_gpu_instance() function and Organized the instance class codes. ( #4630 )
3 years ago
Darren Cheng
176f8e12cb
remove platform.h.in aarch64 judgment ( #4628 )
3 years ago
張小凡
772b13a1d1
Add three extension capability support check ( #4626 )
* Add some extension capability for vma
3 years ago
Kenji Mouri
1936142aae
Add AVX and AVX512F implementation of asin, acos and atan in x86 targets. Fix typo for SSE2 implementation of asin in x86 targets. ( #4621 )
3 years ago
caofx0418
643107533a
fix errors while build in Android Open Source Code ( #4622 )
3 years ago
Kenji Mouri
5ca5209cd5
Add FMA optimization for SSE2 implementation of asin, acos and atan in x86 targets. ( #4620 )
3 years ago
AlOa
22e86402f7
Read image from memory buffer for simpleocv ( #4557 )
3 years ago
nihui
db628b1b99
allow overwriting built-in layer with custom layer ( #4616 )
3 years ago
nihui
1133a18ca8
x86 and arm optimization for convolution1d packed unified elempack ( #4615 )
3 years ago
nihui
85991e2e0e
test custom option, update ci ( #4609 )
* early return for cpu test
* make nvidia driver happy
* fix gemm x86 threading
3 years ago
nihui
f34becf6fc
fix divide by zero in get optimal tile size mnk ( #4610 )
3 years ago
nihui
2ce77ba918
fix mha gemm allocator race ( #4611 )
3 years ago
nihui
804ac3421d
infrastructure and optimization for a53 and a55 ( #4596 )
* new api for detecting arm midr and a53 a55 arch info wrapper
* let a35 be a53 :P
* a53 bf16s
* detect running core
3 years ago
nihui
a961ab992e
arm deconv matmul use gemm ( #4594 )
* arm deconv matmul use gemm
* reduce gemm armv7 register uses
3 years ago
nihui
254eb8d0d4
blacklist fp16a on old adreno driver ( #4587 )
3 years ago
nihui
06b97d7e69
fix exynos 9810 isa detection ( #4585 )
3 years ago
nihui
5ac17df797
arm optimization for packed convolution unified elempack ( #4590 )
3 years ago
nihui
010d6772d6
softmax arm unified elempack and bf16/fp16 optimization ( #4582 )
* mha arm use softmax fp16
3 years ago
nihui
c777bf09dc
arm convolution sgemm unified elempack ( #4572 )
* fuse im2col and packb tile
3 years ago
nihui
6987efd950
fix scale avx512 ( #4580 )
3 years ago
Kenji Mouri
47879ea7ea
Add SSE2 implementation of atan in x86 targets. ( #4575 )
3 years ago
Kenji Mouri
b314b3543d
Add SSE2 implementation of acos in x86 targets. ( #4573 )
3 years ago
Kenji Mouri
328d2ca2c4
Add SSE2 implementation of asin in x86 targets. ( #4570 )
3 years ago
Yoh
7573faae52
move floor and ceil sse_function from unaryOp to sse_mathfun ( #4566 )
3 years ago