Skip to content

Commit

Permalink
Merge pull request #570 from OP2/wence/fix/no-squash-warning
Browse files Browse the repository at this point in the history
Revert "Silence Pymbolic warning pending proper fix"
wence- authored Oct 17, 2019
2 parents 99d10ca + cedb0bb commit 070367e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyop2/codegen/rep2loopy.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 070367e

Please sign in to comment.