blob: 53a9de4b2115e53392a81e00d3235fc1d0a2f57e [file] [log] [blame]
Frank Barchardb1966592020-05-12 13:47:06 -07001#!/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 Barchardaae722a2021-08-30 12:37:30 -07008tools/xngen src/f16-prelu/neonfp16arith.c.in -D CHANNEL_TILE=8 -D ROW_TILE=2 -o src/f16-prelu/gen/neonfp16arith-2x8.c &
9tools/xngen src/f16-prelu/neonfp16arith.c.in -D CHANNEL_TILE=16 -D ROW_TILE=2 -o src/f16-prelu/gen/neonfp16arith-2x16.c &
Frank Barchardb1966592020-05-12 13:47:06 -070010
Marat Dukhanbd7f9a42022-01-10 20:04:36 -080011################################### x86 F16C ##################################
12tools/xngen src/f16-prelu/f16c.c.in -D CHANNEL_TILE=8 -D ROW_TILE=2 -o src/f16-prelu/gen/f16c-2x8.c &
13tools/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 Barchardb1966592020-05-12 13:47:06 -070015################################## Unit tests #################################
Frank Barchardaae722a2021-08-30 12:37:30 -070016tools/generate-prelu-test.py --spec test/f16-prelu.yaml --output test/f16-prelu.cc &
17
18wait