Commit Graph
19 Commits
Author SHA1 Message Date
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
nihui 3ff40b0679 Ci rv32imc (#1940) 2020-07-15 20:25:44 +08:00
nihuini 0d6cc01d55 innerproduct handle mish activation, fix naive C testing, fix #1930 2020-07-10 15:48:22 +08:00
Tijmen VerhulsdonckandRestyled.io 3325cf94f8 Added AVX swish/lrn/batchnorm (#1897)
* added avx versions of commonly used layers

* Restyled by clang-format

* Restyled by astyle

* Restyled by clang-format

* Restyled by astyle

* Unroll loops and increase test coverage

* Restyled/pull 1897 (#13)

* Restyle

Co-authored-by: Restyled.io <commits@restyled.io>

* cleanup variable declaration

* fix ctest

* Restyled/pull 1897 (#14)

Restyle
Co-authored-by: Restyled.io <commits@restyled.io>

* Fix ctest for convolutions without AVX.

Co-authored-by: Restyled.io <commits@restyled.io>
2020-07-01 21:41:22 +08:00
Tijmen VerhulsdonckandRestyled.io 26999fab19 Fix AVX wino 3x3 and improve convolution test converage (#1891)
* Fix winograd 3x3 avx and extend test converage

* fix ctest on non-avx path

* Restyled by clang-format

* Restyled by astyle

* Restyled by clang-format

* Restyled by astyle

* remove unused broadcasts

* Comment with #if 0

Co-authored-by: Restyled.io <commits@restyled.io>
2020-06-30 12:28:30 +08:00
nihui 3ef995ed1e format code style and setup restyled.io (#1840) 2020-06-13 22:17:51 +08:00
nihui 15a4b2c878 test pad same mode 2020-05-25 21:38:56 +08:00
zhiliu6 3bfabf1d6a Add fused convolution and mish layer support. (#1761) 2020-05-17 13:14:09 +08:00
nihuini b2d9325c0d test activation fusion 2020-04-23 14:52:22 +08:00
nihuini 956ab49d02 fix conv1x1s1 pack4to1 bf16s 2020-04-13 12:39:15 +08:00
nihuini 36f6942fa0 testing time is too long ... 2020-04-13 11:24:31 +08:00
nihui 979dd5fd11 test does not need to provide data type options 2020-04-12 19:28:04 +08:00
nihui 839c4c4e34 smaller test size 2020-03-01 20:19:11 +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 e050d596b0 fix convolution int8 requant test on x86 2020-01-27 21:07:07 +08:00
nihuini f813222c1a template candy 2020-01-22 10:47:19 +08:00
tpoisonoooandnihui 7168829f06 Fix int8 requant (#1499)
* skip compile caffe tools

* add convolution_int8 requant test

* fix

* test int8requant

* revert code

* clean code

* fix CI error

* resolve review advices

* Update convolution_arm.cpp

Co-authored-by: nihui <shuizhuyuanluo@126.com>
2020-01-20 22:31:15 +08:00
nihui 6f2ef1932d int8 code refactoring wip, add int8 test 2020-01-05 00:08:11 +08:00
nihui 038666e049 the initial auto test (#1464)
* cpu test

* wip

* ci run test

* travis ci for arm64

* arm64 ctest

* copy vulkan loader

* wip

* run

* Update ccpp.yml

* gpu test

* swiftshader

* cache macos swiftshader

* try MoltenVK

* try vulkaninfo

* give swiftshader another try

* disable failed macos gpu test

* more conv test, fix conv3x3s1 gpu test fail

* fix deconvolution test

* dilation test

* cmake option to build tests

* ncnn_add_layer_test macro

* host barrier before upload and after download, handle packing layout option

* test packing layout

* wip

* wip

* merge deconvolution packing and non-packing code

* merge convolution packing and non-packing code

* pass top_blob_count param

* fix build

* take care of non-coherent mappable memory
2019-12-31 21:12:24 +08:00