Skip to content

Commit

Permalink
hm
Browse files Browse the repository at this point in the history
  • Loading branch information
umadayal committed Oct 14, 2024
1 parent 92c0f5e commit 27ed27a
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions crates/core/executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1325,17 +1325,7 @@ impl<'a> Executor<'a> {
.min()
.unwrap();

// compute distance from every shape
// if the max distance is less than 64, then we have a shape match

// if the min distance is less than 64, then we have a shape match

if l_infinity >= 1024 {
// tracing::warn!(
// "shape match found: l_infinity={}, shape={:?}",
// l_infinity,
// shape
// );
shape_match_found = true;
break;
}
Expand All @@ -1348,9 +1338,11 @@ impl<'a> Executor<'a> {

if cpu_exit || !shape_match_found {
if !shape_match_found {
log::warn!("SHAPE MATCH NOT FOUND {:?}", self.report.opcode_counts);
} else {
log::warn!("SHAPE MATCH FOUND FOR {:?}", self.report.opcode_counts);
log::warn!(
"dropping shard due to no shapes fitting: opcode_counts={:?}, nb_cycles={}",
self.report.opcode_counts,
self.state.clk
);
}
self.state.current_shard += 1;
self.state.clk = 0;
Expand Down

0 comments on commit 27ed27a

Please sign in to comment.