From cedb0bb8c7f05aa0f9fef4bca31a41c825cbbb55 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Fri, 11 Oct 2019 10:48:06 +0100 Subject: [PATCH] Revert "Silence Pymbolic warning pending proper fix" This reverts commit 87f1ce063c1f3912cf8d866b86635aa5500b2d06. --- pyop2/codegen/rep2loopy.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyop2/codegen/rep2loopy.py b/pyop2/codegen/rep2loopy.py index 1a72395af..1b9f9f43e 100644 --- a/pyop2/codegen/rep2loopy.py +++ b/pyop2/codegen/rep2loopy.py @@ -467,10 +467,7 @@ def generate(builder, wrapper_name=None): if isinstance(kernel._code, loopy.LoopKernel): knl = kernel._code - import warnings - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - wrapper = loopy.register_callable_kernel(wrapper, knl) + wrapper = loopy.register_callable_kernel(wrapper, knl) from loopy.transform.callable import _match_caller_callee_argument_dimension_ wrapper = _match_caller_callee_argument_dimension_(wrapper, knl.name) wrapper = loopy.inline_callable_kernel(wrapper, knl.name)