| #!/bin/sh |
| # Copyright 2025 Google, inc. |
| # |
| # This source code is licensed under the BSD-style license found in the |
| # LICENSE file in the root directory of this source tree. |
| |
| ##################################### SIMD ##################################### |
| tools/xngen src/f32-maxpool/maxpool.c.in -D DATATYPE=s8 -D ARCH=scalar -D SIMD_SIZE=1 -o src/s8-maxpool/gen/s8-maxpool-9p-minmax-scalar-u1.c & |
| tools/xngen src/f32-maxpool/maxpool.c.in -D DATATYPE=s8 -D ARCH=sse41 -D SIMD_SIZE=16 -o src/s8-maxpool/gen/s8-maxpool-9p-minmax-sse41-u16.c & |
| tools/xngen src/f32-maxpool/maxpool.c.in -D DATATYPE=s8 -D ARCH=wasmsimd -D SIMD_SIZE=16 -o src/s8-maxpool/gen/s8-maxpool-9p-minmax-wasmsimd-u16.c & |
| tools/xngen src/f32-maxpool/maxpool.c.in -D DATATYPE=s8 -D ARCH=neon -D SIMD_SIZE=16 -o src/s8-maxpool/gen/s8-maxpool-9p-minmax-neon-u16.c & |
| |
| ################################ RISC-V Vector ################################# |
| tools/xngen src/f32-maxpool/rvv.c.in -D DATATYPE=s8 -D LMUL=2 -o src/s8-maxpool/gen/s8-maxpool-9p-minmax-rvv-u2v.c & |
| |
| wait |