From 79f6f3ae99a7e4c3baddc5618ece21830ee9bd2c Mon Sep 17 00:00:00 2001 From: Russel Arbore <russel.jma@gmail.com> Date: Sat, 1 Mar 2025 17:08:23 -0600 Subject: [PATCH] fix cpu edge --- juno_samples/edge_detection/src/cpu.sch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/juno_samples/edge_detection/src/cpu.sch b/juno_samples/edge_detection/src/cpu.sch index b46523f3..3e1321c5 100644 --- a/juno_samples/edge_detection/src/cpu.sch +++ b/juno_samples/edge_detection/src/cpu.sch @@ -33,7 +33,7 @@ let gaussian_smoothing_body = outline(split._0_gaussian_smoothing.fj2); fork-coalesce(gaussian_smoothing, gaussian_smoothing_body); simpl!(gaussian_smoothing, gaussian_smoothing_body); -no-memset(laplacian_estimate@res, laplacian_estimate@shr1, laplacian_estimate@shr2); +no-memset(laplacian_estimate@res); fixpoint { forkify(laplacian_estimate); fork-guard-elim(laplacian_estimate); @@ -45,12 +45,12 @@ fork-tile[4, 1, false, false](par); fork-tile[8, 0, false, false](par); fork-interchange[1, 2](par); let split = fork-split(par); -let body = split._1_laplacian_estimate.fj2 | laplacian_estimate.shr1 | laplacian_estimate.shr2; +let body = split._1_laplacian_estimate.fj2; let laplacian_estimate_body = outline(body); fork-coalesce(laplacian_estimate, laplacian_estimate_body); simpl!(laplacian_estimate, laplacian_estimate_body); -no-memset(zero_crossings@res, zero_crossings@shr1, zero_crossings@shr2); +no-memset(zero_crossings@res); fixpoint { forkify(zero_crossings); fork-guard-elim(zero_crossings); @@ -62,7 +62,7 @@ fork-tile[4, 1, false, false](par); fork-tile[8, 0, false, false](par); fork-interchange[1, 2](par); let split = fork-split(par); -let body = split._2_zero_crossings.fj2 | zero_crossings.shr1 | zero_crossings.shr2; +let body = split._2_zero_crossings.fj2; let zero_crossings_body = outline(body); fork-coalesce(zero_crossings, zero_crossings_body); simpl!(zero_crossings, zero_crossings_body); -- GitLab