File size: 19,863 Bytes
8b7c501 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
#!/bin/sh
# Copyright 2020 Google LLC
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
################################### ARM NEON ##################################
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=ADD -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=ADD -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=DIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-aarch64-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=DIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-aarch64-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MAX -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MAX -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MIN -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MIN -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MUL -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=MUL -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=SUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vop-neonfp16arith.c.in -D OP=SUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=ADD -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=ADD -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=DIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-aarch64-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=DIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-aarch64-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=RDIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-aarch64-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=RDIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-aarch64-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MAX -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MAX -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MIN -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MIN -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MUL -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=MUL -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=SUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=SUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-neonfp16arith-x16.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=RSUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-neonfp16arith-x8.c &
tools/xngen src/f16-vbinary/vopc-neonfp16arith.c.in -D OP=RSUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-neonfp16arith-x16.c &
################################### ARM FP16 ##################################
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=ADD -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=ADD -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=ADD -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=DIV -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=DIV -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=DIV -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MAX -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MAX -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MAX -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MIN -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MIN -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MIN -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MUL -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MUL -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=MUL -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SUB -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SUB -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vop-fp16arith.c.in -D OP=SUB -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=ADD -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=ADD -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=ADD -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=DIV -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=DIV -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=DIV -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RDIV -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RDIV -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RDIV -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MAX -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MAX -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MAX -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MIN -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MIN -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MIN -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MUL -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MUL -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=MUL -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=1 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=2 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SQRDIFF -D BATCH_TILE=4 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SUB -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SUB -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=SUB -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-fp16arith-x4.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RSUB -D BATCH_TILE=1 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-fp16arith-x1.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RSUB -D BATCH_TILE=2 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-fp16arith-x2.c &
tools/xngen src/f16-vbinary/vopc-fp16arith.c.in -D OP=RSUB -D BATCH_TILE=4 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-fp16arith-x4.c &
################################### x86 F16C ##################################
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=ADD -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=ADD -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vadd-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=DIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=DIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdiv-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MAX -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MAX -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MIN -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MIN -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmin-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MUL -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=MUL -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmul-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=SQRDIFF -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=SQRDIFF -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiff-f16c-x16.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=SUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vop-f16c.c.in -D OP=SUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsub-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=ADD -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=ADD -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vaddc-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=DIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=DIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vdivc-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=RDIV -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=RDIV -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrdivc-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MAX -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MAX -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vmaxc-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MIN -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MIN -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vminc-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MUL -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=MUL -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vmulc-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=SQRDIFF -D BATCH_TILE=8 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=SQRDIFF -D BATCH_TILE=16 -D ACTIVATION=LINEAR -o src/f16-vbinary/gen/f16-vsqrdiffc-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=SUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=SUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vsubc-minmax-f16c-x16.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=RSUB -D BATCH_TILE=8 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-f16c-x8.c &
tools/xngen src/f16-vbinary/vopc-f16c.c.in -D OP=RSUB -D BATCH_TILE=16 -D ACTIVATION=MINMAX -o src/f16-vbinary/gen/f16-vrsubc-minmax-f16c-x16.c &
################################## Unit tests #################################
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vadd-minmax.yaml --output test/f16-vadd-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vdiv-minmax.yaml --output test/f16-vdiv-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vmax.yaml --output test/f16-vmax.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vmin.yaml --output test/f16-vmin.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vmul-minmax.yaml --output test/f16-vmul-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vsqrdiff.yaml --output test/f16-vsqrdiff.cc &
tools/generate-vbinary-test.py --tester VBinaryMicrokernelTester --spec test/f16-vsub-minmax.yaml --output test/f16-vsub-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vaddc-minmax.yaml --output test/f16-vaddc-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vdivc-minmax.yaml --output test/f16-vdivc-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vrdivc-minmax.yaml --output test/f16-vrdivc-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vmaxc.yaml --output test/f16-vmaxc.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vminc.yaml --output test/f16-vminc.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vmulc-minmax.yaml --output test/f16-vmulc-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vsqrdiffc.yaml --output test/f16-vsqrdiffc.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vsubc-minmax.yaml --output test/f16-vsubc-minmax.cc &
tools/generate-vbinary-test.py --tester VBinaryCMicrokernelTester --spec test/f16-vrsubc-minmax.yaml --output test/f16-vrsubc-minmax.cc &
wait
|