Skip to content

Commit 34758e4

Browse files
authored
[Triton] Clean up unused/old env vars (NFC) (#7229)
1 parent 40c9b1c commit 34758e4

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

include/triton/Tools/Sys/GetEnv.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ inline const std::set<std::string> CACHE_INVALIDATING_ENV_VARS = {
1515
// clang-format off
1616
"AMDGCN_ENABLE_DUMP",
1717
"AMDGCN_USE_BUFFER_OPS",
18-
"DISABLE_FAST_REDUCTION",
1918
"DISABLE_LLVM_OPT",
2019
"DISABLE_MMA_V3",
2120
"DISABLE_MMA_V5",
@@ -30,7 +29,6 @@ inline const std::set<std::string> CACHE_INVALIDATING_ENV_VARS = {
3029
"MLIR_DISABLE_MULTITHREADING",
3130
"TRITON_DEFAULT_FP_FUSION",
3231
"TRITON_DISABLE_LINE_INFO",
33-
"TRITON_DISABLE_RESHAPE_ENCODING_INFERENCE",
3432
"TRITON_ENABLE_LLVM_DEBUG",
3533
"TRITON_HIP_GLOBAL_PREFETCH",
3634
"TRITON_HIP_LOCAL_PREFETCH",
@@ -42,7 +40,6 @@ inline const std::set<std::string> CACHE_INVALIDATING_ENV_VARS = {
4240
"TRITON_OVERRIDE_ARCH",
4341
"USE_IR_LOC",
4442
"NVPTX_ENABLE_DUMP",
45-
"STORE_TMEM_TO_GLOBAL_BYPASS_SMEM",
4643
"ALLOW_LHS_TMEM_LAYOUT_CONVERSION",
4744
"TRITON_F32_DEFAULT",
4845
"TRITON_PREFER_TMEM_16x256_LAYOUT",

lib/Dialect/TritonGPU/IR/Dialect.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,13 +2241,6 @@ struct TritonGPUInferLayoutInterface
22412241
return success();
22422242
}
22432243

2244-
// Feature flag to disable this routine while it's relatively new.
2245-
// TODO(jlebar): Remove this once we're confident in the code.
2246-
if (triton::tools::getBoolEnv(
2247-
"TRITON_DISABLE_RESHAPE_ENCODING_INFERENCE")) {
2248-
return failure();
2249-
}
2250-
22512244
// Cowardly refuse to handle encodings with multiple CTAs. CTAsPerCGA
22522245
// should be like the other fields in blocked encoding, but I'm not sure how
22532246
// to handle CTASplitNum.

0 commit comments

Comments
 (0)