mirror of
https://github.com/luxfi/corona.git
synced 2026-09-24 00:25:54 +00:00
The two build-tagged files (dkg2_gpu_default.go, dkg2_gpu_accel.go) implemented a goroutine fan-out, NOT a GPU dispatch. Real GPU NTT for the underlying ring math lives in luxfi/lattice/v7/gpu and is reached via the consensus engine accel pipeline. Collapse to a single file dkg2_parallel.go with no build tag. Default OFF (matching the prior non-gpu build); tests opt in via SetDKG2GPUForTest. The exported helper name SetDKG2GPUForTest is left as-is to avoid breaking existing test callers; the legacy `GPU` in the name is documented as a historical misnomer.