Skip to content

Commit 834224f

Browse files
committed
new option use_packing_layout
1 parent 6d1944f commit 834224f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/option.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Option::Option()
4141
use_int8_storage = true;
4242
use_int8_arithmetic = false;
4343

44+
use_packing_layout = false;
45+
4446
// sanitize
4547
if (num_threads <= 0)
4648
num_threads = 1;

src/option.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ class Option
8484
bool use_fp16_arithmetic;
8585
bool use_int8_storage;
8686
bool use_int8_arithmetic;
87+
88+
//
89+
bool use_packing_layout;
8790
};
8891

8992
} // namespace ncnn

0 commit comments

Comments
 (0)