Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # Copyright 2020 Google LLC |
| 3 | # |
| 4 | # This source code is licensed under the BSD-style license found in the |
| 5 | # LICENSE file in the root directory of this source tree. |
| 6 | |
| 7 | ################################### ARM NEON ################################## |
Frank Barchard | aae722a | 2021-08-30 12:37:30 -0700 | [diff] [blame] | 8 | tools/xngen src/f16-prelu/neonfp16arith.c.in -D CHANNEL_TILE=8 -D ROW_TILE=2 -o src/f16-prelu/gen/neonfp16arith-2x8.c & |
| 9 | tools/xngen src/f16-prelu/neonfp16arith.c.in -D CHANNEL_TILE=16 -D ROW_TILE=2 -o src/f16-prelu/gen/neonfp16arith-2x16.c & |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 10 | |
Marat Dukhan | bd7f9a4 | 2022-01-10 20:04:36 -0800 | [diff] [blame] | 11 | ################################### x86 F16C ################################## |
| 12 | tools/xngen src/f16-prelu/f16c.c.in -D CHANNEL_TILE=8 -D ROW_TILE=2 -o src/f16-prelu/gen/f16c-2x8.c & |
| 13 | tools/xngen src/f16-prelu/f16c.c.in -D CHANNEL_TILE=16 -D ROW_TILE=2 -o src/f16-prelu/gen/f16c-2x16.c & |
| 14 | |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 15 | ################################## Unit tests ################################# |
Frank Barchard | aae722a | 2021-08-30 12:37:30 -0700 | [diff] [blame] | 16 | tools/generate-prelu-test.py --spec test/f16-prelu.yaml --output test/f16-prelu.cc & |
| 17 | |
| 18 | wait |