Skip to content

Commit

Permalink
fix max tile size
Browse files Browse the repository at this point in the history
  • Loading branch information
kalhankoul96 committed Jul 23, 2024
1 parent a5d2392 commit 0fb5541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sam/onyx/generate_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def create_matrix_from_point_list(name, pt_list, shape, use_fp=False) -> MatrixG
return mg


def convert_aha_glb_output_file(glbfile, output_dir, tiles, batches, glb_mem_stride=500):
def convert_aha_glb_output_file(glbfile, output_dir, tiles, batches, glb_mem_stride=1024):

glbfile_s = os.path.basename(glbfile).rstrip(".txt")

Expand Down
2 changes: 1 addition & 1 deletion sam/onyx/parse_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, *args: object) -> None:
class SAMDotGraph():

def __init__(self, filename=None, local_mems=True, use_fork=False,
use_fa=False, unroll=1, collat_dir=None, opal_workaround=False, mem_block_size=1000) -> None:
use_fa=False, unroll=1, collat_dir=None, opal_workaround=False, mem_block_size=2048) -> None:
assert filename is not None, "filename is None"
self.graphs = pydot.graph_from_dot_file(filename)
self.graph = self.graphs[0]
Expand Down

0 comments on commit 0fb5541

Please sign in to comment.