15 Commits

Author SHA1 Message Date
nihui 544230f71d gemm x86 tile-N threading, drop testutil layer hook function (#6428)
* test threading
* drop testutil layer hook function
2025-11-28 15:48:48 +08:00
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihui 556b79ce4d create layer decoupled (#5258)
* create layer decoupled
* no more virtual public
* allow build test with shared library
* decouple cpu vulkan
* drop old scripts
2024-01-05 14:08:15 +08:00
nihui 85991e2e0e test custom option, update ci (#4609)
* early return for cpu test

* make nvidia driver happy

* fix gemm x86 threading
2023-04-10 15:03:57 +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
nihuini 07fa2e1fe3 prefer large channels for int8 operator tests 2021-06-18 11:04:37 +08:00
nihui 3a77b09c31 fix test failure 2021-06-17 23:51:17 +08:00
nihuini 934a1a8e32 test flatten packing padding int8 2021-06-17 19:42:45 +08:00
nihui 11cffce114 armv8.2 infrastructure (#1856)
* runtime cpu dispatch

* force thread one

* disable openmp for coverage

* simplify test layer

* print NCNN_TARGET_ARCH

* less ci build variants

* weight fp16 storage option

* test convdw int8

* apple a12 a13

* ncnn_add_layer ncnn_add_shader cmake macro
2020-07-19 19:29:52 +08:00
Tijmen Verhulsdonck 82637995c1 3x3 winograd elempack8 (#1865)
* Added 3x3 pack8 winograd implementation

* working winograd 3x3 and direct 2x2

* Remove typo

* remove debug print

* Restyled by clang-format

* Restyled by astyle

* Restyled by clang-format

* Restyled by astyle

* fix non avx build

* Added flatten and reshape avx implementations

* attempt to fix ios sim build

* Fix build

* Revert include removal

* Restyled by clang-format

* Restyled by astyle

* Restyled by clang-format

* Restyled by astyle

Co-authored-by: Restyled.io <commits@restyled.io>
2020-06-23 09:15:41 +08:00
nihui 3ef995ed1e format code style and setup restyled.io (#1840) 2020-06-13 22:17:51 +08:00
nihui 979dd5fd11 test does not need to provide data type options 2020-04-12 19:28:04 +08:00
nihuini 32a9a489bc fix flatten vulkan fp16p image pack1to4 and pack1to8 2020-04-05 15:47:59 +08:00
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
2020-02-17 15:45:29 +08:00
nihui ebed350c48 add flatten test, fix build on armv7 2020-01-10 19:50:10 +08:00