Skip to content

Commit

Permalink
feat: add option for enforcing number of goroutines for the solver (#…
Browse files Browse the repository at this point in the history
…1052)

* feat: add NbThreads solver option

* feat: use nbthreads from options

* chore: go generate

* refactor: rename NbThreads to NbTasks

* feat: add upper bound of 512 for the number of tasks

* test: add some parallel solver checks

* test: reorder sleep in hint
  • Loading branch information
ivokub authored Feb 13, 2024
1 parent bb3e48e commit 1cc2d6a
Show file tree
Hide file tree
Showing 11 changed files with 198 additions and 62 deletions.
15 changes: 8 additions & 7 deletions constraint/bls12-377/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions constraint/bls12-381/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions constraint/bls24-315/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions constraint/bls24-317/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions constraint/bn254/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions constraint/bw6-633/solver.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1cc2d6a

Please sign in to comment.