Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

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"
  • Loading branch information
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
Expand Up @@ -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)
Expand Down

0 comments on commit 070367e

Please sign in to comment.