Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mapping_to_cgra' into add_sparse…
Browse files Browse the repository at this point in the history
…_ml_kernel
  • Loading branch information
bobcheng15 committed Nov 6, 2023
2 parents acd05d0 + 5498dc1 commit 550fe3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions sam/onyx/hw_nodes/fiberaccess_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,8 @@ def configure(self, attributes, flavor):
cfg_tuple, cfg_kwargs = self.get_flavor(flavor=flavor).configure(attributes)
cfg_kwargs['flavor'] = flavor

vr_mode = 0
cfg_tuple += (vr_mode,)
cfg_kwargs["vr_mode"] = vr_mode

return cfg_tuple, cfg_kwargs
5 changes: 3 additions & 2 deletions sam/onyx/hw_nodes/intersect_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def configure(self, attributes):
cfg_kwargs = {
'cmrg_enable': cmrg_enable,
'cmrg_stop_lvl': cmrg_stop_lvl,
'op': op
'op': op,
'vr_mode': 0
}
return (cmrg_enable, cmrg_stop_lvl, op), cfg_kwargs
return (cmrg_enable, cmrg_stop_lvl, op, 0), cfg_kwargs

0 comments on commit 550fe3f

Please sign in to comment.