You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Epic: Cross-platform native-Fortran + CPU-scaling + CUDA benchmark #84
A rigorous, cross-platform result + performance benchmark of every AMICA backend, extending
the Phase B harness (benchmarks/benchmark_dimsweep.py, #77) with the pieces intentionally left
out of epic #74: native Fortran, CPU core-count scaling, and CUDA multi-model. Answers
"how does the native reference and multi-core CPU compare to the GPU backends, and where are the
crossovers?"
Why its own epic
Epic #74 (Apple-GPU acceleration) delivered the MLX backend and the single-machine Mac + CUDA
single-model comparison. This benchmark is a distinct, larger effort: it needs a native-x86 Linux
CUDA host (Apple's amica15mac is x86-under-Rosetta, and Mac CPU/Fortran timing proved
unreliable), a Fortran build from source, and multi-dimensional sweeps.
Phases (proposed)
Native-Fortran adapter + host setup. Build amica from the .f90 source (gfortran + OpenMP)
on a Linux CUDA host; a _run_fortran adapter (write .fdt Fortran-order + param, parse the
binary's own per-iteration timestamps for startup-immune timing). (A Mac Rosetta adapter was
prototyped in the Phase D branch and reverted -- reuse it.)
CPU core-count scaling.--threads sweep (4/6/8/12/...) for the CPU backends
(torch-CPU, numpy, native Fortran) with matched thread budgets, to see whether cores catch the GPU.
Full matrix + CUDA multi-model. Run the whole grid on the CUDA host (torch-cpu / numpy /
native-fortran / cuda) + Mac (mlx / mps); fill in the multi-model CUDA rows Phase B left pending;
merge into a single cross-platform report + findings.
Constraints
Real EEG only (NO MOCKS; channel subsets of ds002718 for timing). Honest caveats (native vs
Rosetta, cross-machine GPU comparisons, thread-contention). Not run in CI (hardware-specific).
Activity