Skip to content

Commit

Permalink
Fix auto_optimize API call (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun authored Jan 8, 2025
1 parent df19e39 commit 97634cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dace/sdfg/sdfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2545,12 +2545,12 @@ def auto_optimize(self,
:param validate_all: If True, validates the SDFG after every step.
:param symbols: Optional dict that maps symbols (str/symbolic) to int/float
:param use_gpu_storage: If True, changes the storage of non-transient data to GPU global memory.
:note: Operates in-place on the given SDFG.
:note: Operates in-place on this SDFG.
:note: This function is still experimental and may harm correctness in
certain cases. Please report an issue if it does.
"""
from dace.transformation.auto.auto_optimize import auto_optimize
auto_optimize(device, validate, validate_all, symbols, use_gpu_storage)
auto_optimize(self, device, validate, validate_all, symbols, use_gpu_storage)

def _initialize_transformations_from_type(
self,
Expand Down

0 comments on commit 97634cf

Please sign in to comment.