The per-host scripts that took the readings (build host, two x86_64 hosts) go beside the record, with how each platform is tagged. The summary gains the integer decodes' total across platforms and the PSNR change of float decodes whose entropy decode diverged, in both the tool and its independent verifier; per-decode energy is stated in joules. wai_det_energy reads each accelerator client's GPU time per registry node. The conformance workflow's independent-verifiers job checks the record, the texts quoting it, and the decoder bin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
1.1 KiB
Shell
12 lines
1.1 KiB
Shell
# The wasm32-wasip2 build of the integer decoder (made on the build host) under wasmtime on x86_64 host A.
|
|
set -euo pipefail
|
|
R=$HOME/wai-build/det1; W=$R/work; X=$W/xplat; S=$R/wasm-shards
|
|
cd $R
|
|
[ -x wasmtime-v49.0.3-x86_64-linux/wasmtime ] || { curl -sSfL -o wt.tar.xz https://github.com/bytecodealliance/wasmtime/releases/download/v49.0.3/wasmtime-v49.0.3-x86_64-linux.tar.xz && tar xf wt.tar.xz; }
|
|
WT=$R/wasmtime-v49.0.3-x86_64-linux/wasmtime
|
|
rm -rf $S; mkdir -p $S
|
|
awk "{print > (\"$S/jobs.\" (NR-1)%16)}" $W/jobs.dash.tsv
|
|
for f in $S/jobs.*; do nice -n 10 $WT run --dir $W::$W --dir $S::$S $R/wai_det_cost.wasm decode $f > $f.out & done; wait
|
|
cat $S/jobs.*.out > $X/wasm32-wasip2-x86_64.tsv
|
|
printf '{"system": "Linux %s", "hardware": "x86_64 SoC, 16 cores, 32 threads, AVX-512", "target": "wasm32-wasip2", "fabric": "CPU, WebAssembly", "kernels": "fast", "threads": "1 (sixteen decoder processes side by side)", "rustc": "1.98.0", "runtime": "%s, the build host'"'"'s .wasm"}\n' "$(uname -r)" "$($WT --version | cut -d' ' -f1-2)" > $X/wasm32-wasip2-x86_64.json
|
|
wc -l $X/wasm32-wasip2-x86_64.tsv
|