Skip to content

Commit

Permalink
Richer analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun committed Oct 2, 2023
1 parent 8909658 commit 1dd43a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/codegen/targets/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ def _generate_MapEntry(
# Include external edges
for n in scope.nodes():
for e in state_dfg.all_edges(n):
fsyms |= self._frame.free_symbols(e.data)
fsyms |= e.data.used_symbols(False, e)
fsyms = set(map(str, fsyms))

ntid_is_used = '__omp_num_threads' in fsyms
Expand Down

0 comments on commit 1dd43a0

Please sign in to comment.