Accel
API Reference
Accel Go API
Core Interface
type Accelerator interface {
Backend() string
Available() bool
BatchVerify(sigs, msgs, pubs [][]byte) []bool
NTT(coeffs []uint64) []uint64
MSM(scalars, points [][]byte) []byte
}Usage
import "github.com/luxfi/accel"
acc := accel.Default() // auto-detect best backend
fmt.Println(acc.Backend()) // "cuda", "metal", or "go"