[Mlir-commits] [mlir] [MLIR][GPU] Add gpu.cluster_dim_blocks Op to represent number of blocks per cluster (PR #95245)
Guray Ozen
llvmlistbot at llvm.org
Wed Jun 12 06:35:35 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:
Is using `kMaxDim` guaranteed here?
https://github.com/llvm/llvm-project/pull/95245
More information about the Mlir-commits
mailing list