diff --git a/hercules_samples/simple3.hir b/hercules_samples/simple3.hir index 33a8e1b4aa585b98a647d42201070ea940eb40cd..4c86fb77cd1560f428bd9e6fb5d9a916d7a8faca 100644 --- a/hercules_samples/simple3.hir +++ b/hercules_samples/simple3.hir @@ -1,11 +1,11 @@ fn simple3<1>(a: array(f32, #0), b: array(f32, #0)) -> f32 zero = constant(f32, 0.0) fork = fork(start, #0) - id = thread_id(fork) + id = thread_id(fork, 0) join = join(fork) r = return(join, dot_red) aval = read(a, position(id)) bval = read(b, position(id)) mul = mul(aval, bval) dot = add(mul, dot_red) - dot_red = reduce(join, zero, dot) \ No newline at end of file + dot_red = reduce(join, zero, dot)