summaryrefslogtreecommitdiff
path: root/tests/quick/se/04.gpu/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quick/se/04.gpu/test.py')
-rw-r--r--tests/quick/se/04.gpu/test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/quick/se/04.gpu/test.py b/tests/quick/se/04.gpu/test.py
index 0de781c88..14cd74be3 100644
--- a/tests/quick/se/04.gpu/test.py
+++ b/tests/quick/se/04.gpu/test.py
@@ -32,11 +32,14 @@
#
# Author: Brad Beckmann
#
+
+from __future__ import print_function
+
executable = binpath('gpu-hello')
kernel_path = os.path.dirname(executable)
kernel_files = glob.glob(os.path.join(kernel_path, '*.asm'))
if kernel_files:
- print "Using GPU kernel code file(s)", ",".join(kernel_files)
+ print("Using GPU kernel code file(s)", ",".join(kernel_files))
else:
fatal("Can't locate kernel code (.asm) in " + kernel_path)