savepoint
This commit is contained in:
parent
c4167681d7
commit
5c51b6a0a2
|
@ -120,7 +120,7 @@ func draw148PplFromDistributionAndCheck(d IntProbs, r src, show bool) int64 {
|
|||
|
||||
func getUnnormalizedBayesianUpdateForDistribution(d IntProbs, r src) int64 {
|
||||
var sum int64 = 0
|
||||
n := 1000
|
||||
n := 30_000
|
||||
for i := 0; i < n; i++ {
|
||||
/* if i%1000 == 0 {
|
||||
fmt.Println(i)
|
||||
|
@ -134,11 +134,11 @@ func getUnnormalizedBayesianUpdateForDistribution(d IntProbs, r src) int64 {
|
|||
|
||||
func main() {
|
||||
|
||||
n_dists := 1000
|
||||
n_dists := 30_000
|
||||
var dists = make([]IntProbsWeights, n_dists)
|
||||
|
||||
// Prepare for concurrency
|
||||
num_threads := 8
|
||||
num_threads := 32
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(num_threads)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user