igneum/tools/intel-arc/make-kit.sh
igneum-labs f39d64a7e2 Intel Arc: the plan, vendor intel in the app (detection, badge, no-cap row, tests), the PC 1 driver, restart, read-back and bench jobs
docs/plans/intel-arc.md: the OpenCL worker runs the B580 first (Intel's OpenCL 3.0 runtime, exchange auto with the
local-memory fallback the worker already carries), the expected ceiling from 456 GB/s (13 to 20 MH/s, approximate until
the memprobe), 12 GB = mine only (the prover is CUDA only), the Arc OpenCL gotchas (sub-group 16 vs 32, SLM, spills,
64-bit multiply, IGC's build options and compile time, two Intel platforms, no power API through OpenCL: IGCL next),
the fallback ladder with hours (SPIR-V into the same runtime, a Level Zero host, SYCL), the consequences per tier.
App: vendor "intel" from the OpenCL vendor string and the Windows name; Arc cards discrete, the Arc-branded processor
graphics integrated; the INTEL badge in the Intel blue token, light and dark; the row's no-reading sentence, the
measure-only tune words and the details panel's no-cap note; sweep.rs names IGCL as the source to come; detect.rs test
on a B580 line beside PC 1's list; view.test.mjs row test; ui-mock scenario intel.
PC 1 jobs (tools/intel-arc): the elevated driver job (ran twice on 7 October: run 1 exit 1007 = the bootstrapper's wrap
of the inner installer's 7 on my -report flag; run b with -s alone exit 1014 = inner 14, installed, restart required),
the restart job (the project lead's word), the read-back job, the packs kit and the bench job with the memprobe, class v4 and v3
benches, the local-exchange row, the bench-log row, the card-picker entry and the owner's consequences line.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 10:02:14 +00:00

25 lines
1.3 KiB
Bash

#!/usr/bin/env bash
# The packs kit for tools/intel-arc/pc1-arc-bench.ps1 (7 October 2026, docs/plans/intel-arc.md section 5): the class v4
# pack v4-devnet-epoch0 (the current class, fingerprint f410c731b6bc2d31 at 2^24) and the class v3 control
# mx8-devnet-epoch0 (90f794dd556f7a3b), both from proto-cuda/packs-ca3-v4 as the 6 October gate run exported them, plus
# SHA256SUMS. Packs only: the INSTALLED igneum-worker-opencl.exe on PC 1 is the worker under test, so no exe travels.
# tools/intel-arc/make-kit.sh [out.zip] default $TMPDIR/igneum-ia-arc-packs.zip
# Prints the zip's sha256 and size: the README's fetch line takes them.
set -euo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"
ROOT="$(cd "$HERE/../.." && pwd)"
OUT="${1:-${TMPDIR:-/tmp}/igneum-ia-arc-packs.zip}"
STAGE="$(mktemp -d)"
mkdir -p "$STAGE/packs"
for p in mx8-devnet-epoch0 v4-devnet-epoch0; do
src="$ROOT/proto-cuda/packs-ca3-v4/$p"
[ -f "$src/kernel_bound.cl" ] || { echo "pack $p has no kernel_bound.cl at $src" >&2; exit 1; }
mkdir -p "$STAGE/packs/$p"
cp "$src"/* "$STAGE/packs/$p/"
done
( cd "$STAGE" && find . -type f ! -name SHA256SUMS | sort | xargs shasum -a 256 > SHA256SUMS )
rm -f "$OUT"
( cd "$STAGE" && zip -X -q -r "$OUT" . )
rm -rf "$STAGE"
echo "kit $OUT"
echo "sha256 $(shasum -a 256 "$OUT" | cut -c1-64) bytes $(wc -c < "$OUT" | tr -d ' ')"