Files
tilelang/testing/python
Lei Wang 7ae3529821 [Refactor] Rename clamp functions and enhance dtype handling in tests (#232)
- Renamed `clamp` to `clamp_within_bounds` and `clamp_v2` to `clamp_value_range` for improved clarity.
- Updated dtype handling in `clamp_value_range` to use the correct tensor dtype.
- Modified test cases to reflect the new function names and ensure proper dtype conversion using `map_torch_type`.
- Enhanced the reference program for clamping to utilize the updated tensor dtype, improving accuracy in tests.
2025-03-17 16:33:22 +08:00
..