We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a77cdb commit c08b0baCopy full SHA for c08b0ba
third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp
@@ -2756,9 +2756,10 @@ struct StoreOpToBlockIOConversion
2756
offsetBaseX = offsetX;
2757
offsetBaseY = offsetY;
2758
} else {
2759
- static const bool enableBlockStore = triton::tools::getBoolEnv(
2760
- "TRITON_INTEL_ENABLE_BLOCK_IO_STORE_ON_REGULAR_PTR");
2761
- if (!enableBlockStore)
+ std::optional<bool> enableBlockStore =
+ mlir::triton::tools::isEnvValueBool(mlir::triton::tools::getStrEnv(
+ "TRITON_INTEL_ENABLE_BLOCK_IO_STORE_ON_REGULAR_PTR"));
2762
+ if (enableBlockStore.has_value() && !enableBlockStore.value())
2763
return failure();
2764
// Get the LLVM values for pointers
2765
ptrElems = unpackLLElements(loc, llPtr, rewriter);
0 commit comments