Skip to content

Commit

Permalink
Merge pull request #2139 from ccuetom/pass-op-arguments
Browse files Browse the repository at this point in the history
compiler: Pass operator arguments to downstream operators
  • Loading branch information
FabioLuporini authored Jun 5, 2023
2 parents 5f1ff64 + 1187b4b commit ba4a49f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devito/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def _build(cls, expressions, **kwargs):

# Required for the jit-compilation
op._compiler = kwargs['compiler']
op._language = kwargs['language']
op._lib = None
op._cfunction = None

Expand Down Expand Up @@ -1038,6 +1039,8 @@ def __init__(self, args, grid, op):

self.allocator = op._allocator
self.platform = op._platform
self.language = op._language
self.compiler = op._compiler
self.options = op._options

@property
Expand Down

0 comments on commit ba4a49f

Please sign in to comment.