Skip to content

Commit

Permalink
Some more logging. (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth authored Oct 15, 2024
1 parent 12dc86b commit 6f204be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions executor/src/constant_evaluator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub fn generate<T: FieldElement>(analyzed: &Analyzed<T>) -> Vec<(String, Variabl
if max_degree > (1 << 18) {
fixed_cols = jit_compiler::generate_values(analyzed);
}
let mut used_interpreter = false;
for (poly, value) in analyzed.constant_polys_in_source_order() {
if let Some(value) = value {
// For arrays, generate values for each index,
Expand All @@ -34,6 +35,7 @@ pub fn generate<T: FieldElement>(analyzed: &Analyzed<T>) -> Vec<(String, Variabl
range
.iter()
.map(|degree| {
used_interpreter = true;
interpreter::generate_values(analyzed, degree, &name, value, index)
})
.collect::<Vec<_>>()
Expand All @@ -42,6 +44,9 @@ pub fn generate<T: FieldElement>(analyzed: &Analyzed<T>) -> Vec<(String, Variabl
}
}
}
if !used_interpreter && !fixed_cols.is_empty() {
log::info!("All columns were genrated using JIT-code.");
}

fixed_cols
.into_iter()
Expand Down

0 comments on commit 6f204be

Please sign in to comment.