From 37d34a128183d7cba4fb8cfee0a1f62b118212f2 Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Mon, 19 Apr 2021 14:27:07 -0500 Subject: [PATCH] modernize fortran examples - parse_fortran returns a Program instead of a list of kernels --- examples/fortran/matmul-driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fortran/matmul-driver.py b/examples/fortran/matmul-driver.py index 111ac2411..499bc9b71 100644 --- a/examples/fortran/matmul-driver.py +++ b/examples/fortran/matmul-driver.py @@ -11,7 +11,7 @@ def main(): with open(fn) as inf: source = inf.read() - dgemm, = lp.parse_transformed_fortran(source, filename=fn) + dgemm = lp.parse_transformed_fortran(source, filename=fn) ctx = cl.create_some_context() queue = cl.CommandQueue(ctx) -- GitLab