[Mlir-commits] [mlir] [MLIR][GPU] Add gpu.cluster_dim_blocks and gpu.cluster_block_id Ops (PR #95245)

Guray Ozen llvmlistbot at llvm.org
Wed Jun 12 22:45:12 PDT 2024


================
@@ -86,6 +86,11 @@ static std::optional<uint64_t> getKnownLaunchDim(Op op, LaunchDims type) {
 
 void ClusterDimOp::inferResultRanges(ArrayRef<ConstantIntRanges>,
                                      SetIntRangeFn setResultRange) {
+  setResultRange(getResult(), getIndexRange(1, kMaxDim));
----------------
grypp wrote:

Let's not a verifier in that case. 

https://github.com/llvm/llvm-project/pull/95245


More information about the Mlir-commits mailing list