xref: /aosp_15_r20/external/XNNPACK/scripts/generate-f32-conv-hwc.sh (revision 4bdc94577ba0e567308109d787f7fec7b531ce36)
1*4bdc9457SAndroid Build Coastguard Worker#!/bin/sh
2*4bdc9457SAndroid Build Coastguard Worker# Copyright 2020 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/f32-conv-hwc/3x3s2p1c3-neon-x1.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x1.c &
9*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x1.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x1.c &
10*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x2.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x2.c &
11*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x2.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x2.c &
12*4bdc9457SAndroid Build Coastguard Worker
13*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x1.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x1.c &
14*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x1.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x1.c &
15*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x2.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x2.c &
16*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x2.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=1 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x2.c &
17*4bdc9457SAndroid Build Coastguard Worker
18*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x1.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x1.c &
19*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x1.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x1.c &
20*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x2.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x2.c &
21*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p1c3-neon-x2.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x2.c &
22*4bdc9457SAndroid Build Coastguard Worker
23*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x1.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x1.c &
24*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x1.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x1.c &
25*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x2.c.in -D CHANNEL_TILE=4 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x2.c &
26*4bdc9457SAndroid Build Coastguard Workertools/xngen src/f32-conv-hwc/3x3s2p0p1c3-neon-x2.c.in -D CHANNEL_TILE=8 -D HEIGHT_TILE=2 -D FMA=0 -o src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x2.c &
27*4bdc9457SAndroid Build Coastguard Worker
28*4bdc9457SAndroid Build Coastguard Workerwait
29