Skip to content

Commit 813de0a

Browse files
Temporarily disable predicated load
Signed-off-by: Whitney Tsang <[email protected]>
1 parent 3a1a8c6 commit 813de0a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2956,10 +2956,7 @@ struct LoadOpConversion : public ConvertOpToLLVMPattern<triton::LoadOp>,
29562956
Value ret;
29572957
// Create a predicated load operation.
29582958
if (pred) {
2959-
std::optional<bool> enablePredicated =
2960-
mlir::triton::tools::isEnvValueBool(
2961-
mlir::triton::tools::getStrEnv("TRITON_INTEL_PREDICATED"));
2962-
if (!enablePredicated.has_value() || enablePredicated.value())
2959+
if (triton::tools::getBoolEnv("TRITON_INTEL_PREDICATED"))
29632960
ret = rewriter.create<TritonGEN::PredicatedLoadOp>(
29642961
loc, retTy, addrElem, b.i64_val(alignment), pred, other_);
29652962
else {

0 commit comments

Comments
 (0)