xref: /aosp_15_r20/external/XNNPACK/scripts/generate-u32-vlog.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################################### SCALAR ###################################
8tools/xngen src/u32-vlog/scalar.c.in -D BATCH_TILE=1 -o src/u32-vlog/gen/scalar-x1.c &
9tools/xngen src/u32-vlog/scalar.c.in -D BATCH_TILE=2 -o src/u32-vlog/gen/scalar-x2.c &
10tools/xngen src/u32-vlog/scalar.c.in -D BATCH_TILE=3 -o src/u32-vlog/gen/scalar-x3.c &
11tools/xngen src/u32-vlog/scalar.c.in -D BATCH_TILE=4 -o src/u32-vlog/gen/scalar-x4.c &
12
13################################## Unit tests #################################
14tools/generate-vlog-test.py --spec test/u32-vlog.yaml --output test/u32-vlog.cc &
15
16wait
17