mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
compiler: Fix collision of environments in matmult implementations
GitHub: Fixes #1578.
This commit is contained in:
parent
362f8ecb69
commit
f0284b2549
@ -1603,7 +1603,7 @@ class ARTIQIRGenerator(algorithm.Visitor):
|
||||
num_rows, num_summands, _, num_cols = self._get_matmult_shapes(lhs, rhs)
|
||||
|
||||
elt = result.type["elt"].find()
|
||||
env_type = ir.TEnvironment("loop", {"$total": elt})
|
||||
env_type = ir.TEnvironment(name + ".loop", {"$total": elt})
|
||||
env = self.append(ir.Alloc([], env_type))
|
||||
|
||||
def row_loop(row_idx):
|
||||
|
Loading…
Reference in New Issue
Block a user