mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 07:18:50 +00:00
#3622 made the strata target compile on aarch64. This adds what a Spark build needs beyond that: - the trellis dispatcher (tq_cpu.cpp, its scalar rows) is part of the arm64 kernel library, as it is in the Metal build, so the DeepSeek engine's CPU lane links; ds4_tq_cpu.cpp names the AVX units on x86-64 only - a STRATA_PORTABLE build on arm64 sets ggml-cpu's -march to armv8.2-a+dotprod+fp16+i8mm (STRATA_ARM64_ARCH) instead of the build host's; GGML_NATIVE OFF alone would leave plain armv8-a and no NEON dot products - the x86 kernels' parity programs and benches are not configured on arm64; the test suite defaults off there (-DSTRATA_BUILD_TESTS=ON still builds what builds) - spark/build_engine.sh: the reproducible build of strata, strata-dsv41 and the picture reader into an engine folder, with the CUDA libraries beside them (RUNPATH $ORIGIN) Every change is behind STRATA_CPU_X86 being OFF or inside a new file; the x86 and Metal builds do not take it.