Skip to content

Commit

Permalink
refactor: apply num-inner cols to constant assignments as well (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto authored Mar 20, 2024
1 parent 6819a3a commit e134d86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@ impl GraphSettings {
}

fn constants_logrows(&self) -> u32 {
(self.total_const_size as f64).log2().ceil() as u32
(self.total_const_size as f64 / self.run_args.num_inner_cols as f64)
.log2()
.ceil() as u32
}

/// calculate the total number of instances
Expand Down

0 comments on commit e134d86

Please sign in to comment.