SIGN IN SIGN UP

[rocm-libraries] ROCm/rocm-libraries#6168 (commit 2968835)

[CK][CK Tile] Clamp element space size to max int32 value (#6168)

## Motivation

Fix oob check by clamping element space size to avoid overflow when
tensor is larger than 2GB.

## Technical Details

- It is possible that tensor could be larger than 2GB but offsets no, so
element space size must be clamped to 2GB if value is larger.

## Test Plan

CI

## Test Result

Pending

## Submission Checklist

- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.

https://github.com/ROCm/composable_kernel/issues/3722

Co-authored-by: Max Podkorytov <4273004+tenpercent@users.noreply.github.com>
B
Bartłomiej Kocot committed
6f9537fa0b496b67e3d533efbd7be15309f91861
Parent: 5d36cad
Committed by GitHub <noreply@github.com> on 4/20/2026, 3:32:24 PM