Skip to content

Commit ba4a49f

Browse files
Merge pull request #2139 from ccuetom/pass-op-arguments
compiler: Pass operator arguments to downstream operators
2 parents 5f1ff64 + 1187b4b commit ba4a49f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

devito/operator/operator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def _build(cls, expressions, **kwargs):
194194

195195
# Required for the jit-compilation
196196
op._compiler = kwargs['compiler']
197+
op._language = kwargs['language']
197198
op._lib = None
198199
op._cfunction = None
199200

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

10391040
self.allocator = op._allocator
10401041
self.platform = op._platform
1042+
self.language = op._language
1043+
self.compiler = op._compiler
10411044
self.options = op._options
10421045

10431046
@property

0 commit comments

Comments
 (0)