cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

[BUG] About the rounding mode of TF32

Open beginlner opened this issue 2 years ago • 2 comments

https://github.com/NVIDIA/cutlass/blob/main/include/cutlass/tfloat32.h#L80 Why does the code represent "round toward nearest even", but not "round to nearest, ties away from zero"?

beginlner avatar Jan 03 '24 06:01 beginlner

I don't fully understand your questions. Exactly as this rounding method says, it "round_half_ulp_truncate", so it is not "to the nearest even"

we do this because it only takes two instructions to do the conversion.

hwu36 avatar Jan 05 '24 17:01 hwu36

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Feb 04 '24 18:02 github-actions[bot]

Closing due to inactivity

mnicely avatar Feb 22 '24 15:02 mnicely