File: generate-f32-qc8w-spmm.sh

package info (click to toggle)
xnnpack 0.0~git20241108.4ea82e5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 167,796 kB
  • sloc: ansic: 2,030,850; cpp: 434,872; asm: 96,670; sh: 9,671; python: 7,814; makefile: 21
file content (16 lines) | stat: -rwxr-xr-x 1,144 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Copyright 2019 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 ###################################
### Microkernels without unrolling
tools/xngen src/f32-spmm/scalar.c.in -D MR=1 -D NR=1 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-1x1-minmax-scalar.c &
tools/xngen src/f32-spmm/scalar.c.in -D MR=2 -D NR=1 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-2x1-minmax-scalar.c &
tools/xngen src/f32-spmm/scalar.c.in -D MR=4 -D NR=1 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-4x1-minmax-scalar.c &
tools/xngen src/f32-spmm/scalar.c.in -D MR=8 -D NR=1 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-8x1-minmax-scalar.c &
tools/xngen src/f32-spmm/scalar.c.in -D MR=8 -D NR=2 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-8x2-minmax-scalar.c &
tools/xngen src/f32-spmm/scalar.c.in -D MR=8 -D NR=4 -D UNROLL=1 -D DATATYPE=QC8 -o src/f32-qc8w-spmm/gen/f32-qc8w-spmm-8x4-minmax-scalar.c &

wait