xref: /aosp_15_r20/external/XNNPACK/scripts/generate-f16-ibilinear-chw.sh (revision 4bdc94577ba0e567308109d787f7fec7b531ce36)
1#!/bin/sh
2# Copyright 2022 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 ##############################
8tools/xngen src/f16-ibilinear-chw/neonfp16arith.c.in -D PIXEL_TILE=4  -D FMA=1 -o src/f16-ibilinear-chw/gen/neonfp16arith-p4.c &
9tools/xngen src/f16-ibilinear-chw/neonfp16arith.c.in -D PIXEL_TILE=8  -D FMA=1 -o src/f16-ibilinear-chw/gen/neonfp16arith-p8.c &
10tools/xngen src/f16-ibilinear-chw/neonfp16arith.c.in -D PIXEL_TILE=16 -D FMA=1 -o src/f16-ibilinear-chw/gen/neonfp16arith-p16.c &
11
12################################## Unit tests #################################
13tools/generate-ibilinear-chw-test.py --spec test/f16-ibilinear-chw.yaml --output test/f16-ibilinear-chw.cc &
14
15wait
16