File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44EXE = berserk
55SRC = *.c pyrrhic/tbprobe.c
66CC = gcc
7- VERSION = 20221003
7+ VERSION = 10
88MAIN_NETWORK = networks/berserk-c982d9682d4e.nn
99EVALFILE = $(MAIN_NETWORK )
1010DEFS = -DVERSION=\"$(VERSION ) \" -DEVALFILE=\"$(EVALFILE ) \" -DNDEBUG
@@ -66,13 +66,10 @@ pgo: clone-networks
6666
6767release : clone-networks
6868 $(RELEASE ) -$(VERSION ) -x64$(EXT ) -march=core2
69- strip $(EXE ) -$(VERSION ) -x64$(EXT )
70-
7169 $(RELEASE ) -$(VERSION ) -x64-avx2$(EXT ) -march=core-avx2
72- strip $(EXE ) -$(VERSION ) -x64-avx2$(EXT )
73-
74- $(RELEASE)-$(VERSION)-x64-avx2-pext$(EXT) -march=core-avx2 -DUSE_PEXT
75- strip $(EXE)-$(VERSION)-x64-avx2-pext$(EXT)
70+ $(RELEASE ) -$(VERSION ) -x64-avx2-pext$(EXT ) -march=core-avx2 -DUSE_PEXT
71+ $(RELEASE ) -$(VERSION ) -x64-avx512$(EXT ) -march=core-avx2 -mavx512f -mavx512bw -mavx512dq
72+ $(RELEASE ) -$(VERSION ) -x64-avx512-pext$(EXT ) -march=core-avx2 -mavx512f -mavx512bw -mavx512dq -DUSE_PEXT
7673
7774clone-networks :
7875ifeq ($(EVALFILE ) , $(MAIN_NETWORK ) )
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ int16_t INPUT_BIASES[N_HIDDEN] ALIGN;
3939int16_t OUTPUT_WEIGHTS [2 * N_HIDDEN ] ALIGN ;
4040int32_t OUTPUT_BIAS ;
4141
42- #if defined(__AVX2__ )
42+ #if defined(__AVX512F__ )
43+ #define UNROLL 512
44+ #elif defined(__AVX2__ )
4345#define UNROLL 256
4446#else
4547#define UNROLL 128
You can’t perform that action at this time.
0 commit comments