4 ms·
Damn, coming from the CUDA world, this is quite unexpected. Do you know of any resources on FP in the graphics hardware? I mean do they fit A standard (nvfp, bf
by jamiejquinn 17d ago
Damn, coming from the CUDA world, this is quite unexpected. Do you know of any resources on FP in the graphics hardware? I mean do they fit A standard (nvfp, bf, etc?)?
- ablob 17d agoAs far as I know you might want to read the GLSL or Vulkan specification. At least there (and by extension in SPIR-V) you can select different floating point behaviors. Historically graphics programming has been more concerned with looking good rather than being accurate, and behavior is likely different on each GPU. It's a "hop into the water and learn to swim" kind of thing as far as I'm concerned. You will find errors for things you'll never have thought about and there is hardly any way to brace for it except trying on the go.
- jamiejquinn 17d agoAppreciate the looking good aspect but surely the graphics community also appreciates some level of consistency...?
- flohofwoe 17d agoIn short: Benchmark numbers were always more important than consistency (traditionally, GPU vendors competed on frames-per-second, not on image quality). E.g. floating point behaviour is only the tip of the iceberg. Every GPU vendor also does mipmapping differently (to balance image quality versus required memory bandwidth).