From 6b39e69c801eb11c11e3b51a2506467b1c79598f Mon Sep 17 00:00:00 2001
From: Russel Arbore <russel.jma@gmail.com>
Date: Sat, 1 Feb 2025 16:40:40 -0600
Subject: [PATCH] fix for edge_detection

---
 Cargo.toml                              | 8 ++++----
 juno_samples/edge_detection/src/gpu.sch | 5 +++++
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index f4976106..f7b9322a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,14 +21,14 @@ members = [
 	"hercules_samples/ccp",
 
 	"juno_samples/simple3",
-  "juno_samples/patterns",
+	"juno_samples/patterns",
 	"juno_samples/matmul",
 	"juno_samples/casts_and_intrinsics",
 	"juno_samples/nested_ccp",
 	"juno_samples/antideps",
 	"juno_samples/implicit_clone",
-  "juno_samples/cava",
+	"juno_samples/cava",
 	"juno_samples/concat",
-  "juno_samples/schedule_test",
-  "juno_samples/edge_detection",
+	"juno_samples/schedule_test",
+	"juno_samples/edge_detection",
 ]
diff --git a/juno_samples/edge_detection/src/gpu.sch b/juno_samples/edge_detection/src/gpu.sch
index d7330c67..a1bf06a4 100644
--- a/juno_samples/edge_detection/src/gpu.sch
+++ b/juno_samples/edge_detection/src/gpu.sch
@@ -17,3 +17,8 @@ dce(*);
 infer-schedules(*);
 
 gcm(*);
+fixpoint {
+  float-collections(*);
+  dce(*);
+  gcm(*);
+}
-- 
GitLab