From 615347e78eef165bec929f318b46d7678f9589e5 Mon Sep 17 00:00:00 2001
From: Xavier Routh <xrouth2@illinois.edu>
Date: Wed, 11 Dec 2024 12:34:24 -0600
Subject: [PATCH] matmul int failing

---
 hercules_test/hercules_tests/tests/opt_tests.rs | 1 +
 hercules_test/test_inputs/matmul_int.hir        | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/hercules_test/hercules_tests/tests/opt_tests.rs b/hercules_test/hercules_tests/tests/opt_tests.rs
index c14d4db5..256ab2ee 100644
--- a/hercules_test/hercules_tests/tests/opt_tests.rs
+++ b/hercules_test/hercules_tests/tests/opt_tests.rs
@@ -2,6 +2,7 @@ use std::env;
 
 use hercules_interpreter::*;
 use hercules_opt::pass::Pass;
+use hercules_ir::ID;
 
 extern crate rand;
 use rand::Rng;
diff --git a/hercules_test/test_inputs/matmul_int.hir b/hercules_test/test_inputs/matmul_int.hir
index 1e496bab..34d8169b 100644
--- a/hercules_test/test_inputs/matmul_int.hir
+++ b/hercules_test/test_inputs/matmul_int.hir
@@ -1,11 +1,11 @@
 fn matmul<3>(a: array(i32, #0, #1), b: array(i32, #1, #2)) -> array(i32, #0, #2)
   c = constant(array(i32, #0, #2), [])
   i_ctrl = fork(start, #0)
-  i_idx = thread_id(i_ctrl)
+  i_idx = thread_id(i_ctrl, 0)
   j_ctrl = fork(i_ctrl, #2)
-  j_idx = thread_id(j_ctrl)
+  j_idx = thread_id(j_ctrl, 0)
   k_ctrl = fork(j_ctrl, #1)
-  k_idx = thread_id(k_ctrl)
+  k_idx = thread_id(k_ctrl, 0)
   k_join_ctrl = join(k_ctrl)
   j_join_ctrl = join(k_join_ctrl)
   i_join_ctrl = join(j_join_ctrl)
-- 
GitLab