From f55f17e0c3ba5c104925f0fb5f418758c4d2017d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sat, 31 Mar 2012 21:37:24 -0400 Subject: [PATCH] CompiledKernel: return outputs as a separate list. --- loopy/compiled.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loopy/compiled.py b/loopy/compiled.py index da9d11fdb..2fea508ea 100644 --- a/loopy/compiled.py +++ b/loopy/compiled.py @@ -172,13 +172,14 @@ class CompiledKernel: if out_host: outputs = [o.get() for o in outputs] - return [evt] + outputs + return evt, outputs # }}} + def print_highlighted_code(text): try: from pygments import highlight -- GitLab