Skip to content
Snippets Groups Projects
Commit 615347e7 authored by Xavier Routh's avatar Xavier Routh
Browse files

matmul int failing

parent e357ca38
No related branches found
No related tags found
1 merge request!103Forkify + Loop Canonicalization + Initial Fork Fission
Pipeline #200590 failed
......@@ -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;
......
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment