Skip to content

Commit 78984f9

Browse files
committed
Minor codegen tutorial update
1 parent 64b87ce commit 78984f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/codegen.ipynb

+3
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,9 @@
519519
" # We can get the map entry node from the scope graph\n",
520520
" entry_node = scope.source_nodes()[0]\n",
521521
" \n",
522+
" # First, generate an opening brace (for instrumentation and dynamic map ranges)\n",
523+
" callsite_stream.write('{', sdfg, state_id, entry_node)\n",
524+
" \n",
522525
" ################################################################\n",
523526
" # Generate specific code: We will generate a reversed loop with a \n",
524527
" # comment for each dimension of the map. For the sake of simplicity,\n",

0 commit comments

Comments
 (0)