Skip to content

Commit

Permalink
Tweak owf=auto.
Browse files Browse the repository at this point in the history
- Twice the required number is too little.
  • Loading branch information
ari-koivula committed Dec 10, 2014
1 parent 129c8e3 commit 8c1e0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ int config_set_owf_auto(config *cfg)
tiles_per_frame *= cfg->tiles_height_count + 1;
}
int threads = (cfg->threads > 1 ? cfg->threads : 1);
int frames = CEILDIV(threads * 2, tiles_per_frame);
int frames = CEILDIV(threads * 4, tiles_per_frame);

// Limit number of frames to 1.25x the number of threads for the case
// where there is only 1 tile per frame.
Expand Down

0 comments on commit 8c1e0b8

Please sign in to comment.