test / scripts /generate-cs16-bfly4.sh
Androidonnxfork's picture
Upload folder using huggingface_hub
8b7c501
raw
history blame
733 Bytes
#!/bin/sh
# Copyright 2022 Google LLC
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
################################### SCALAR ###################################
tools/xngen src/cs16-bfly4/scalar.c.in -D SAMPLE_TILE=1 -o src/cs16-bfly4/gen/cs16-bfly4-scalar-x1.c &
tools/xngen src/cs16-bfly4/scalar.c.in -D SAMPLE_TILE=2 -o src/cs16-bfly4/gen/cs16-bfly4-scalar-x2.c &
tools/xngen src/cs16-bfly4/scalar.c.in -D SAMPLE_TILE=4 -o src/cs16-bfly4/gen/cs16-bfly4-scalar-x4.c &
################################## Unit tests #################################
tools/generate-bfly4-test.py --spec test/cs16-bfly4.yaml --output test/cs16-bfly4.cc &
wait