nihui
833f6ed8e4
c api for getting output indexes and names ( #4534 )
3 years ago
nihui
0736c5b658
Fix c api allocator ( #4360 )
* add some c_api interfaces related to allocator setup.
* fix errors in allocator parameters in c_api.
* test c api allocator
Co-authored-by: zhangtongshe <yuyuyezi@vip.qq.com>
3 years ago
nihui
1d0917c83b
fix build with very old gcc ( #4048 )
* clear bom marker, avoid vector data function
3 years ago
nihui
bae2ee375f
simplify c api layer forward_n output array type
4 years ago
tpoisonooo
dddcdb97b2
feat(src): add mat default constructor ( #3427 )
Co-authored-by: MegEngine <megengine@megvii.com>
Co-authored-by: tpoisonooo <tpoisonooo@users.noreply.github.com>
4 years ago
nihui
76f2dddc37
cmake option for c api ( #3423 )
4 years ago
nihui
14c3802de3
c api for 4d mat ( #3403 )
4 years ago
nihuini
169614f732
fix build with NCNN_STDIO off
4 years ago
nihui
54c0a13b9f
build shared library ( #2525 )
* build shared lib and enable lto
* reserved for layer and option
* allocator pimpl
* datareader pimpl
* paramdict pimpl, disable copy assign for allocator and datareader
* modelbin pimpl
* net extractor pimpl
* gpu pimple
* disable copy assign vulkandevice, code format
* command pimpl, dummy image readonly
* pipeline pipelinecache pimpl, export platform class
* code format, export simple family
* update ci
* disable lto on android armv7, merge webassembly ci
* link libgcc, fix macos dylib version
* pipeline pimpl, gpu info pimpl
* destroy gpu info after vulkan device
* ignore msvc stl class warning
* fix ncnn_paramdict_get_float return type
* fix vktransfer upload fp16 without flatten, add command test
5 years ago
nihuini
b35b06be6d
reorg nhwc mode, code format
5 years ago
nihui
25506cfba0
fix build
5 years ago
nihui
1040f40c8b
update c api for custom allocator datareader modelbin and layer registration, add cookie userdata to layer
5 years ago
nihui
2b7b92b726
update c api allocator
5 years ago
nihui
017440c1ca
update c api allocator
5 years ago
nihuini
27e9795198
update c api
5 years ago
nihuini
4114d333c9
low-level op api for C api
5 years ago
nihui
343bc3b7dc
single blob consumer ( #2493 )
5 years ago
nihui
e93ad408c5
Ci release ( #2440 )
* package openmp and glslang together
* find glslang targets in lib64
* define version string
* update moltenvk
5 years ago
Evgeny Proydakov
7e68c76d2f
Fixed compile warning for src/c_api.cpp nostring build. [-Wunused-parameter] ( #2459 )
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
Evgeny Proydakov
bc2471208f
Fixed compile warnings for gcc linux build. [-Wunused-parameter] [-Wunused-but-set-variable] ( #2198 )
5 years ago
nihui
a33b353c36
C api ( #1851 )
6 years ago