Commit Graph
2 Commits
Author SHA1 Message Date
Lei Wang cdc67fc440 [PassConfig] Introduce PassConfig TL_STORAGE_REWRITE_DETECT_INPLACE (#1089)
* • Enable configurable StorageRewrite inplace detection

  - Add kStorageRewriteDetectInplace constant and register the flag with PassContext so C++ code no longer hard-codes the key.
  - Wire StorageRewrite to include TileLang builtin constants and honor the new config toggle when deciding inplace reuse.
  - Document the flag across Python surfaces (PassConfigKey, JIT/autotuner docs) with usage guidance and simplified IR examples.

* lint fix

* add test

* lint fix
2025-10-21 16:56:24 +08:00
Lei Wang 72be4909bb [Refactor] Refactor env into a more flexible version (#740)
* Fix environment variable name for compilation print setting in `env.py`

* Remove deprecated test file for warp specialized pass configuration and refactor environment variable access in `env.py` to utilize a centralized `EnvVar` class for better management and clarity.

* lint fix

* Refactor cache check to use `env.is_cache_enabled()` for consistency in `tuner.py`
2025-08-19 17:14:41 +08:00