We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 705ba85 commit 2791594Copy full SHA for 2791594
2 files changed
blitz/generate/genstencils.py
@@ -3,10 +3,12 @@
3
# Generates stencil code. This replaces the macros in stencil-et.h,
4
# which make it impossible to debug the generated code.
5
6
+from __future__ import print_function
7
+
8
import sys
9
10
os=open(sys.argv[1],'w')
-print "Generating file %s"%sys.argv[1]
11
+print("Generating file %s"%sys.argv[1])
12
13
def BZ_ET_STENCIL_REDIRECT(name):
14
stub="""
blitz/generate/makeloops.py
@@ -3,6 +3,8 @@
# python version of the makeloops.cpp that generates the benchmark
# loops.
import time, pdb
# definitions of the loops (from loops.data)
0 commit comments