Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
Signed-off-by: MaheshRavishankar <[email protected]>
  • Loading branch information
MaheshRavishankar committed Dec 6, 2024
1 parent cf2c77c commit b8eb838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ setWarpReductionConfig(IREE::GPU::TargetAttr target,

// Without any bounds on dynamic dims, we need specialization to
// get peak performance. For now, just use the warp size.
if (numDynamicDims) {
if (numDynamicDims > 0) {
SmallVector<int64_t> reductionTileSizes(op.getNumLoops(), 0);
int64_t preferredSubgroupSize = target.getPreferredSubgroupSize();
reductionTileSizes[reductionDims[0]] = preferredSubgroupSize;
Expand Down

0 comments on commit b8eb838

Please sign in to comment.