diff --git a/devito/operator/operator.py b/devito/operator/operator.py index ec298cbfef..1e201f499d 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -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 @@ -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