Commit 9458bae5 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

[NVPTX] Custom lower integer<->bf16 conversions for sm_80 (#74827)

sm_80 only has f32->bf16 conversions, the remaining integer conversions
arrived with sm_90. Use a two-step conversion for sm_80.

There doesn't seem to be a way to express this promotion directly within
the legalization framework, so fallback on Custom lowering.
parent f58f0891
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment