Skip to main content

Module native_artifacts

Module native_artifacts 

Source
Expand description

Dual-artifact comparison: portable codegen vs -C target-cpu=native.

Builds the standalone benchmarks/arm_kernels package twice (generic vs native), runs each binary, and compares measured medians. This is the dual-artifact track beyond in-process AVX2 stand-ins.

Requires a working cargo on PATH. Never invents timings.

Structs§

ArtifactArm
One compiled artifact run.
NativeArtifactReport
Full dual-artifact report.
NativeArtifactSuite
Suite of native-artifact comparisons on one host.

Functions§

default_artifact_kernels
Default kernels for a single-machine artifact suite.
find_workspace_root
Locate workspace root (directory containing benchmarks/arm_kernels).
run_native_artifact_compare
Run portable vs native compiled artifact comparison.
run_native_artifact_suite
Run all default (or provided) kernels.
suite_to_workload_entries
Convert a suite into HNEP workload entries (names artifact-<kernel>).