Skip to content

Commit

Permalink
Try fixing Spacc naming issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoduoza committed Nov 16, 2023
1 parent fbdd71b commit f8d2cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sam/sim/src/accumulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def return_statistics(self):


# NEW VERSION: Accumulation into a vector
class SpAcc1(Primitive):
class SparseAccumulator1(Primitive):
def __init__(self, maxdim=100, valtype=float, last_level=True, val_stkn=False, depth=1, **kwargs):
super().__init__(**kwargs)
self.kwargs = kwargs
Expand Down Expand Up @@ -421,7 +421,7 @@ def print_fifos(self):


# NEW VERSION: Accumulation into a matrix
class SpAcc2(Primitive):
class SparseAccumulator2(Primitive):
def __init__(self, maxdim=100, valtype=float, last_level=True, val_stkn=False, depth=1, **kwargs):
super().__init__(**kwargs)
self.kwargs = kwargs
Expand Down

0 comments on commit f8d2cd3

Please sign in to comment.