Files
consensus/types
zeekay 641bc4f4a9 feat(quasar): add GPU orchestrator for consensus acceleration
Add GPU orchestrator to quasar protocol for hardware-accelerated consensus:

GPU Orchestrator (protocol/quasar/gpu*.go):
- gpu.go: Pure Go stub implementation (default, !cgo build tag)
- gpu_cgo.go: CGO implementation integrating crypto/gpu and corona/gpu
- gpu_test.go: Comprehensive test suite for GPU operations

Features:
- BLS batch verification and signature aggregation
- ML-DSA post-quantum signature operations
- Threshold signature context (keygen, partial sign, combine)
- Batch hashing (SHA3-256, SHA3-512, BLAKE3)
- Corona GPU operations (NTT, polynomial ops, sampling)
- Block verification combining BLS and threshold signatures

The GPU orchestrator follows the composable architecture:
- gpu.go (pure Go default) / gpu_cgo.go (CGO opt-in)
- Integrates with corona/gpu for post-quantum threshold signatures
- Works seamlessly with and without CGO enabled

Also includes dependency updates and minor fixes.
2025-12-30 14:38:53 -08:00
..