Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuning Compatibility Fixes #1234

Merged
merged 3 commits into from
Mar 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion dace/codegen/instrumentation/likwid.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def on_sdfg_begin(self, sdfg, local_stream, global_stream, codegen):
#include <string>
#include <sys/types.h>

#define MAX_NUM_EVENTS 64
#define MAX_NUM_EVENTS 256
'''
global_stream.write(header_code, sdfg)

Expand Down
3 changes: 1 addition & 2 deletions dace/sdfg/analysis/cutout.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ def singlestate_cutout(cls,
# Remove remaining dangling connectors from scope nodes and add new data containers corresponding to accesses
# for dangling connectors on other nodes.
translation_add_pairs: Set[Tuple[nd.AccessNode, nd.AccessNode]] = set()
for orig_node in in_translation.keys():
new_node = in_translation[orig_node]
for orig_node, new_node in in_translation.items():
if isinstance(new_node, nd.Node):
if isinstance(orig_node, (nd.EntryNode, nd.ExitNode)):
used_connectors = set(e.dst_conn for e in new_state.in_edges(new_node))
Expand Down
2 changes: 1 addition & 1 deletion dace/transformation/dataflow/tiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def apply(self, graph: SDFGState, sdfg: SDFG):

dim_idx -= removed_maps
# If tile size is trivial, skip strip-mining map dimension
if tile_size == map_entry.map.range.size()[dim_idx]:
if not self.tile_trivial and tile_size == map_entry.map.range.size()[dim_idx]:
continue

stripmine = StripMining()
Expand Down