Skip to content

Commit

Permalink
Remove previous per stencil override of default_build_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Apr 11, 2023
1 parent 4fc5b4d commit 2245027
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dsl/pace/dsl/stencil.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
cast,
)

import dace
import gt4py
import numpy as np
from gt4py.cartesian import gtscript
Expand Down Expand Up @@ -322,14 +321,6 @@ def __init__(

self._argument_names = tuple(inspect.getfullargspec(func).args)

if "dace" in self.stencil_config.compilation_config.backend:
dace.Config.set(
"default_build_folder",
value="{gt_cache}/dacecache".format(
gt_cache=gt4py.cartesian.config.cache_settings["dir_name"]
),
)

assert (
len(self._argument_names) > 0
), "A stencil with no arguments? You may be double decorating"
Expand Down

0 comments on commit 2245027

Please sign in to comment.