Skip to content

Commit

Permalink
Use default chunk size
Browse files Browse the repository at this point in the history
  • Loading branch information
kayceesrk committed Aug 20, 2020
1 parent d110088 commit b2da603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/game_of_life_multicore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let print g =
let next pool =
let g = !rg in
let new_g = !rg' in
T.parallel_for pool ~chunk_size:(board_size/num_domains) ~start:0
T.parallel_for pool ~start:0
~finish:(board_size - 1) ~body:(fun x ->
for y = 0 to board_size - 1 do
new_g.(x).(y) <- next_cell g x y
Expand Down

0 comments on commit b2da603

Please sign in to comment.