26 Commits

Author SHA1 Message Date
nihui 5c4c03a880 adapt to vkwebgpu and vkopencl (#6876)
* support image storage
2026-08-04 14:37:26 +08:00
nihui 127b414614 reshape support batch to/from dim (#6784) 2026-07-02 19:29:34 +08:00
nihui 9c62afb90c batch infrastructure (#6656)
* batch-aware record upload download
* cast and packing batch
2026-06-17 17:38:53 +08:00
nihui e5e09d5ee3 readonly mappedfile wrapper class, use_mapped_model_loading option (#6537)
* test mmap loading
2026-02-09 22:15:51 +08:00
nihui 419db5e04d net load api wchar_t version (#6491) 2026-01-06 15:33:26 +08:00
nihui 3ab4b58d1d optional layer support vulkan packing (#6389)
* pyncnn expose layer support vulkan packing
* doc layer support behavior
2025-11-05 16:27:23 +08:00
nihui b5bc05e2e8 drop vulkan shader pack8 (#6270) 2025-08-22 11:05:59 +08:00
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihui 24a3b99f1f drop layer support_image_storage and option use_image_storage (#6126)
* fix pyncnn build
2025-06-16 11:23:41 +08:00
nihui 211e238639 drop layer forward vkimagemat (#6124)
vkimagemat was originally used as a mat storage in the hope of improving performance on old adreno gpus, but in fact it is slower than the cpu in most cases and is no longer suitable for the latest adreno architecture and large shapes
2025-06-14 10:36:47 +08:00
nihui 903ec7c2c9 fix overwrite builtin layer destruction (#4732)
* fix overwrite builtin layer destruction

* make modelbin class copyable

* test++
2023-05-17 14:17:41 +08:00
nihui db628b1b99 allow overwriting built-in layer with custom layer (#4616) 2023-04-11 15:44:08 +08:00
nihui dabc4c065f arm convolution winograd unified elempack (#4556)
* update f43 coeffs

* arm convolution winograd unified elempack

* disable bf16s test atm

* test gnu inline asm off
2023-03-09 15:42:29 +08:00
nihui 0b591b0d1f implement layer feature disabled bit (#4278) 2022-10-18 18:19:57 +08:00
nihui 6e19ab26ba massive vulkan optimization (#3602)
* vulkan deconvolution sgemm col2im

* vulkan convolution winograd43

* improve fp16s numeric stablity

* vulkan convolution im2col sgemm

* check squeezenet top2, as top3 vs top4 score too close..
2022-03-12 10:16:58 +08:00
nihui cf20dbc0bd relu3d, batchnorm3d, reshape4d, flatten4d, permute4d (#3397)
Co-authored-by: ElvisYu <elvisyuovo@gmail.com>
Co-authored-by: 余浩文 <m18107220188@163.com>
Co-authored-by: nihui <nihui@users.noreply.github.com>
Co-authored-by: Zr2223 <67497651+Zr2223@users.noreply.github.com>
Co-authored-by: Zr2223 <Zr2223@users.noreply.github.com>
2021-12-05 19:55:04 +08:00
nihui 24fbb6e8cb honor thread setting on load and vulkan command, ci avx512 t4 (#3391) 2021-12-01 16:36:37 +08:00
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
2020-10-20 14:41:03 +08:00
Evgeny Proydakov 4973773b35 Fixed compile warnings for gcc linux build. [-Wunused-result] (#2199) 2020-10-13 16:25:51 +08:00
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
2020-10-11 22:53:38 +08:00
nihuini a334513b5e fp16a option fix 2020-09-08 20:02:57 +08:00
Leo 5afd318b86 Support remove libstdc++ denpendency (#2030)
* [build] add toolchain file w/o stdcxx dependency

* [build] link m and gcc lib explicitly

* [ncnn] complete simple stl impl

* [ncnn] adapt for ncnn simplestl

* [test] adapt for ncnn simplestl

* [ncnn] fix missing algorithm and list when simplestl disabled

* [ncnn] fix guard for operator new and delete

* [style] fix the code style

* [build] fix build failed on darwin and emscripten

* [ci] do not import cxx to avoid operator conflict

* [ncnn] add temporary partial_sort impl using bubble sort

heap sort should be used for better perf.

* [ncnn] add std greater and less function

* [ncnn] fix placement new operator overload

* [ncnn] add operator delete with size info

* [build] disable exception, rtti, example and tools when simplestl on

* [build] add toolchain for arm simplestl

* [build] add toolchain for aarch64 simplestl

* [ncnn] move initializer to constructor

* [ncnn] use deteiled type instead of auto

* [ncnn] use plain lib name in target_link_libraries
2020-08-28 09:20:56 +08:00
nihui 2964814857 Fix vs2019 ci (#2041) 2020-08-27 14:11:25 +08:00
nihuini 5d7b410ca8 test squeezenet with memory pool 2020-07-09 10:38:34 +08:00
nihui 0fdd432fb3 Ci test squeezenet load from binary model and load from memory (#1928) 2020-07-08 15:08:36 +08:00
nihui 7f5047d1dc Ci test end2end squeezenet (#1919) 2020-07-06 21:50:45 +08:00