This commit is contained in:
nonam3e
2024-08-01 14:23:01 +00:00
parent 3a5c2d9e42
commit 9854bb2299
10 changed files with 10 additions and 10 deletions

View File

@@ -122,7 +122,7 @@ func convertIcicleG2AffineToG2Affine(iciclePoints []g2.G2Affine) []bls12377.G2Af
func TestMSMG2(t *testing.T) {
cfg := g2.G2GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -82,7 +82,7 @@ func convertIcicleAffineToG1Affine(iciclePoints []icicleBls12_377.Affine) []bls1
func TestMSM(t *testing.T) {
cfg := msm.GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -122,7 +122,7 @@ func convertIcicleG2AffineToG2Affine(iciclePoints []g2.G2Affine) []bls12381.G2Af
func TestMSMG2(t *testing.T) {
cfg := g2.G2GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -82,7 +82,7 @@ func convertIcicleAffineToG1Affine(iciclePoints []icicleBls12_381.Affine) []bls1
func TestMSM(t *testing.T) {
cfg := msm.GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -122,7 +122,7 @@ func convertIcicleG2AffineToG2Affine(iciclePoints []g2.G2Affine) []bn254.G2Affin
func TestMSMG2(t *testing.T) {
cfg := g2.G2GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -82,7 +82,7 @@ func convertIcicleAffineToG1Affine(iciclePoints []icicleBn254.Affine) []bn254.G1
func TestMSM(t *testing.T) {
cfg := msm.GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -82,7 +82,7 @@ func convertIcicleAffineToG2Affine(iciclePoints []g2.G2Affine) []bw6761.G2Affine
func TestMSMG2(t *testing.T) {
cfg := g2.G2GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -82,7 +82,7 @@ func convertIcicleAffineToG1Affine(iciclePoints []icicleBw6_761.Affine) []bw6761
func TestMSM(t *testing.T) {
cfg := msm.GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -16,7 +16,7 @@ import (
func TestMSM(t *testing.T) {
cfg := msm.GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power

View File

@@ -160,7 +160,7 @@ func convertIcicleG2AffineToG2Affine(iciclePoints []g2.G2Affine) []{{toPackage .
func TestMSM{{.CurvePrefix}}(t *testing.T) {
cfg := {{if eq .CurvePrefix "G2"}}g2{{else}}msm{{end}}.{{.CurvePrefix}}GetDefaultMSMConfig()
cfg.IsAsync = true
for _, power := range []int{2, 3, 4, 5, 6, 7, 8, 10, 18} {
for _, power := range []int{2, 3, 4, 5, 6} {
runtime.SetDevice(&DEVICE)
size := 1 << power