From 834224fea8593713cc8942b729b0a09e109c9dfd Mon Sep 17 00:00:00 2001 From: nihuini Date: Fri, 19 Jul 2019 19:53:14 +0800 Subject: [PATCH] new option use_packing_layout --- src/option.cpp | 2 ++ src/option.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/option.cpp b/src/option.cpp index 103539db5..7d78c2527 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -41,6 +41,8 @@ Option::Option() use_int8_storage = true; use_int8_arithmetic = false; + use_packing_layout = false; + // sanitize if (num_threads <= 0) num_threads = 1; diff --git a/src/option.h b/src/option.h index 54c7e57af..3e53e3458 100644 --- a/src/option.h +++ b/src/option.h @@ -84,6 +84,9 @@ public: bool use_fp16_arithmetic; bool use_int8_storage; bool use_int8_arithmetic; + + // + bool use_packing_layout; }; } // namespace ncnn