Skip to content

Commit

Permalink
Fix bu-icsg#1: run_test.sh failed and configparam not found in params.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arcturusannamalai committed Apr 21, 2024
1 parent b0470f1 commit d7bcda3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions params.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@
from enum import Enum
from multiprocessing.sharedctypes import Value

@dataclass
class LimbsContext:
limbs : int

class ConfigParam:
def __init__(self,**kwargs):
self.N = 2**16
self.limbs = 47
self.exp_img_ctxt = LimbsContext(limbs=32)
self.slot_coeff_ctxt = LimbsContext(limbs=19)
for k,v in kwargs.items():
setattr(self,k,v)


@total_ordering
class CacheStyle(Enum):
Expand Down

0 comments on commit d7bcda3

Please sign in to comment.