xref: /aosp_15_r20/external/XNNPACK/scripts/generate-f16-ibilinear-chw.sh (revision 4bdc94577ba0e567308109d787f7fec7b531ce36)
1*4bdc9457SAndroid Build Coastguard Worker#!/bin/sh
2*4bdc9457SAndroid Build Coastguard Worker# Copyright 2022 Google LLC
3*4bdc9457SAndroid Build Coastguard Worker#
4*4bdc9457SAndroid Build Coastguard Worker# This source code is licensed under the BSD-style license found in the
5*4bdc9457SAndroid Build Coastguard Worker# LICENSE file in the root directory of this source tree.
6*4bdc9457SAndroid Build Coastguard Worker
7*4bdc9457SAndroid Build Coastguard Worker############################### ARM NEON ##############################
8*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f16-ibilinear-chw/neonfp16arith.c.in -D PIXEL_TILE=4  -D FMA=1 -o src/f16-ibilinear-chw/gen/neonfp16arith-p4.c &
9*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f16-ibilinear-chw/neonfp16arith.c.in -D PIXEL_TILE=8  -D FMA=1 -o src/f16-ibilinear-chw/gen/neonfp16arith-p8.c &
10*4bdc9457SAndroid Build Coastguard Workertools/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*4bdc9457SAndroid Build Coastguard Worker
12*4bdc9457SAndroid Build Coastguard Worker################################## Unit tests #################################
13*4bdc9457SAndroid Build Coastguard Workertools/generate-ibilinear-chw-test.py --spec test/f16-ibilinear-chw.yaml --output test/f16-ibilinear-chw.cc &
14*4bdc9457SAndroid Build Coastguard Worker
15*4bdc9457SAndroid Build Coastguard Workerwait
16