From f3032e265d80860426e21a7a176a0d9138def314 Mon Sep 17 00:00:00 2001 From: Ahmad Nawab Date: Fri, 8 Nov 2024 13:49:32 +0100 Subject: [PATCH] Update example notebook to use do_loop_fusion --- example/03_loop_fusion.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/03_loop_fusion.ipynb b/example/03_loop_fusion.ipynb index 12661f44d..5d2822fcb 100644 --- a/example/03_loop_fusion.ipynb +++ b/example/03_loop_fusion.ipynb @@ -923,7 +923,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "id": "164b5054", "metadata": {}, "outputs": [ @@ -982,8 +982,8 @@ } ], "source": [ - "from loki import loop_fusion\n", - "loop_fusion(routine_copy)\n", + "from loki import do_loop_fusion\n", + "do_loop_fusion(routine_copy)\n", "pragma_map = {pragma: None for pragma in FindNodes(Pragma).visit(routine_copy.body)}\n", "routine_copy.body = Transformer(pragma_map).visit(routine_copy.body)\n", "print(routine_copy.to_fortran())"