23 lines
1.3 KiB
Bash
Executable File
23 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
# Copyright 2020 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.
|
|
|
|
################################### ARM NEON ##################################
|
|
tools/xngen src/f16-vclamp/neonfp16arith.c.in -D BATCH_TILE=8 -o src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u8.c &
|
|
tools/xngen src/f16-vclamp/neonfp16arith.c.in -D BATCH_TILE=16 -o src/f16-vclamp/gen/f16-vclamp-neonfp16arith-u16.c &
|
|
|
|
################################ RISC-V Vector ################################
|
|
tools/xngen src/f16-vclamp/rvvfp16arith.c.in -D LMUL=1 -o src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u1v.c &
|
|
tools/xngen src/f16-vclamp/rvvfp16arith.c.in -D LMUL=2 -o src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u2v.c &
|
|
tools/xngen src/f16-vclamp/rvvfp16arith.c.in -D LMUL=4 -o src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u4v.c &
|
|
tools/xngen src/f16-vclamp/rvvfp16arith.c.in -D LMUL=8 -o src/f16-vclamp/gen/f16-vclamp-rvvfp16arith-u8v.c &
|
|
|
|
################################### x86 F16C ##################################
|
|
tools/xngen src/f16-vclamp/f16c.c.in -D BATCH_TILE=8 -o src/f16-vclamp/gen/f16-vclamp-f16c-u8.c &
|
|
tools/xngen src/f16-vclamp/f16c.c.in -D BATCH_TILE=16 -o src/f16-vclamp/gen/f16-vclamp-f16c-u16.c &
|
|
|
|
wait
|
|
|