[llvm] [NVPTX] Add support for atomic add for bf16 type (PR #89586)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 12:18:58 PDT 2024


https://github.com/Artem-B commented:

LGTM.

Do we need to worry about denormals? I.e. we only have noftz variant of the atomic, which potentially will give us different results that a regular addition would, depending on denormals handling mode. Do we need to add an extra op that folds denormals to zero when normal FP ops would be expected to do so?

I'm way out of my depth on FP handling nuances here. We need to ask an FP expert.

https://github.com/llvm/llvm-project/pull/89586


More information about the llvm-commits mailing list