Zhengtq
3e8b905ce1
Modify typo of annotation in option.h ( #2345 )
5 years ago
nihui
1184404fbf
support Apple M1 Silicon ( #2335 )
* recognize apple M1
* macos ios cpuset and thread affinity
* big little cpu topology for macos and ios
* silence affinity not supported error
5 years ago
nihuini
fb59eeb4c2
fix bias x86 sse2 code style
5 years ago
nihui
b896c4c33c
add some x86 pack4
5 years ago
nihui
f4f790ca1f
ci macos arm64 ( #2321 )
5 years ago
nihuini
bebae4f9f6
reorgnize some compile flags
5 years ago
Martin Han
b441f738bd
Extract on CPU without pack/fp16fp32 ( #2288 )
* Add readme for keras2ncnn
* Add supported model variants
* Fix supported model variants
* Add extract without convert pack/fp1632
5 years ago
PENGUINLIONG
8f8f2de4d0
SSE2 optimization pack ( #2123 )
* SSE2: BatchNorm
* Fixed batch norm in AVX configuration
* Optimized register size switch
* Attempt to pass CI
* Attempt to pass CI
* Bias op
* Element wise ops
* Support packing on x86 by default
* Fixed macro range in bias
* Use aligned read for packed data
* Update testutil.h
* Update pooling_x86.cpp
* Support wasn SIMD
* Fix emscripten compiler flags
* fix build
* more ci fix
* concat x86 pack4
* flatten x86 pack4
* more x86 pack4
* ci pass
* fix
* enable sse2 mathfun
* enable --experimental-wasm-simd
Co-authored-by: nihui <shuizhuyuanluo@126.com>
Co-authored-by: nihuini <nihuini@tencent.com>
5 years ago
Leo
cab255f107
Fix compile failure when NCNN_PIXEL off ( #2260 )
* fix compiling failure on cxx14
* fix compile failure when NCNN_PIXEL off
* do not export pixel api when NCNN_PIXEL off
* disable squeezenet test when NCNN_PIXEL off
* do not build ncnn2table and examples when NCNN_PIXEL off
* make cmakedefine header independent
* restore platform.h.in
Co-authored-by: nihui <shuizhuyuanluo@126.com>
Co-authored-by: nihuini <nihuini@tencent.com>
5 years ago
maxfy1992
a106baa3b8
add interp param align_corner ( #2236 )
* add interp param align_corner
add check support_vulkan after create_pipeline for tests
* code style
Co-authored-by: yangfengmax <yangfengmax@didichuxing.com>
5 years ago
ncnnnnn
f72befbe49
fix vs2017 nmake warning C4267 ( #2267 )
* fix vs2017 nmake warning C4267: 'return': conversion from 'size_t' to 'int'
* fix vs2017 nmake warning C4267: 'initializing': conversion from 'size_t' to 'int'
5 years ago
Leo
ebb46032d9
fix compiling failure on cxx14 ( #2261 )
5 years ago
Philipp Zabel
2b4b7cabe8
Fix maybe uninitialized warnings in Vulkan reshape functions ( #2255 )
5 years ago
Philipp Zabel
90dc323dab
Silence unused parameter warning in opencv resize function ( #2254 )
5 years ago
nihui
9f1c1d7dea
rename NCNN_OPENCV to NCNN_SIMPLEOCV
5 years ago
nihui
acbb52ee15
fix simplestl build in c++03, fix #2249
5 years ago
Zhuo Zhang
f05999e792
get_little_cpu_count() and get_big_cpu_count() ( #2247 )
5 years ago
Evgeny Proydakov
9dbe7aa897
Fixed compile warning for ios clang build. [-Wuninitialized] ( #2244 )
5 years ago
Zhuo Zhang
6475d782c1
try to support Open Harmony OS ( #2241 )
5 years ago
nihui
b30d5131b4
naive exchange-add operation when NCNN_THREADS is off
5 years ago
nihui
cf3cf83cd3
unified image shader storage type ( #2231 )
* drop bug_layout_binding_id_alias flag
5 years ago
nihui
e4a4b51d27
openmp on webassembly ( #2234 )
* openmp on webasm works
* fix compile flags
* dynamic kmp runtime initialization
* clang simpleomp ci
* fix dispatch on unique cpu
5 years ago
Evgeny Proydakov
a0c9249ffe
Fixed compile warning in convolutiondepthwise for ios cpu 32 bit. [-Wunused-variable] ( #2227 )
5 years ago
nihui
a8f38f6170
portable thread local storage class ( #2229 )
5 years ago
Evgeny Proydakov
2cfec9032b
Fixed compile warnings for ios clang cpu 32bit. [-Wunused-variable] ( #2223 )
5 years ago
Evgeny Proydakov
6a71ccfc3f
Fixed compile warnings for clang ios gpu. [-Wunused-variable] ( #2217 )
5 years ago
Evgeny Proydakov
f1dc8a1825
Fixed compile warnings for gcc linux gpu 64 build. [-Wunused-parameter] ( #2216 )
* Fixed compile warnings for gcc linux gpu 64 build. [-Wunused-parameter]
* Fixed linux x64 gpu clang compile warning. [-Wunused-variable]
5 years ago
Zhuo Zhang
fc9541a2b5
fix packing.cpp integer multiply may overflow ( #2213 )
* fix packing.cpp integer multiply may overflow
* int->size_t
5 years ago
Evgeny Proydakov
2b66348b62
Fixed compile warnings for gcc linux gpu 64 build. [-Wunused-parameter] [-Wunused-variable] ( #2215 )
5 years ago
Zhuo Zhang
8f7937affa
fix shufflechannel.cpp integer multiply may overflow ( #2212 )
5 years ago
Zhuo Zhang
961af15089
fix roialign_x86.cpp integer multiply may overflow ( #2211 )
5 years ago
Zhuo Zhang
1993ea0e54
fix mat.h integer multiply may overflow ( #2210 )
5 years ago
ncnnnnn
a135900094
fix fscanf -Wunused-result ( #2205 )
5 years ago
ncnnnnn
5a91a640cb
fix -Wmaybe-uninitialized _coffset ( #2204 )
5 years ago
restyled-io[bot]
2d459830a0
Restyle fix -Wmaybe-uninitialized ( #2203 )
* fix -Wmaybe-uninitialized
build warning: ‘_outh’ '_outw' may be used uninitialized
* Restyled by clang-format
* Restyled by astyle
* Restyled by clang-format
* Restyled by astyle
Co-authored-by: ncnnnnn <67086033+ncnnnnn@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
5 years ago
fawdlstty
1d1cb29869
Fixed compile warning due to default cast ( #2201 )
5 years ago
Evgeny Proydakov
bc2471208f
Fixed compile warnings for gcc linux build. [-Wunused-parameter] [-Wunused-but-set-variable] ( #2198 )
5 years ago
nihui
9be3f074a9
ci ndk-r16b ( #2104 )
* reset
* fix build with old vulkan header
5 years ago
nihui
b9296c259d
bring up vulkan 1.1 ( #2191 )
* query subgroup features
* compile spirv 1.3
* drop offline spirv build
* do not build tests for android and ios, as they are never tested anyway
* code style
5 years ago
nihuini
85161a6187
ncnn mat pixel affine family
5 years ago
Evgeny Proydakov
7dfb1cbafc
Fixed compile warning for x86 layer with reason: [-Wunused-variable] ( #2186 )
5 years ago
nihui
4463c3b455
disable image shader on adreno until a better workaround figured out
5 years ago
Evgeny Proydakov
478dbd546a
Fixed compile warning for x86 layer. [-Wunused-variable] ( #2184 )
5 years ago
ncnnnnn
972bb4b52c
softplus inplace ( #2156 )
* softplus inplace
* softplus inplace add src/tests CMakeLists.txt
* Update CMakeLists.txt
* Update softplus.cpp
* Update softplus.h
* Update softplus.cpp
* Update test_softplus.cpp
* Update softplus.cpp
* Update softplus.h
Co-authored-by: sf <sf@sf.sf>
Co-authored-by: nihui <shuizhuyuanluo@126.com>
5 years ago
nihuini
b766c8cd9e
fix potential divide by zero fault when bf16s / fp16s enabled, fix #2125
5 years ago
youzainn
1c5af3d83c
add device_name field for class GpuInfo ( #2122 )
5 years ago
nihui
b6d9a65cb1
fix fp16 overflow in instancenorm vulkan
5 years ago
nihuini
da7989bda3
yuv420sp2rgb_nv12
5 years ago
tpoisonooo
2c8288555c
fix(cpu): cpu number bigger than 64 ( #2083 )
Co-authored-by: nihui <shuizhuyuanluo@126.com>
5 years ago
nihui
d695005744
innerproduct fp16sa bf16s pack
5 years ago