News for hackers. Stuff that matters.
Re:Run CUDA, unmodified, on AMD GPUs by ckitching on Monday July 15, 2024 @08:03PM (#40972563)
> Hi, why do you believe that bfloat16 is not supported?

Apologies, I appear to be talking nonsense. I conflated bfloat16 with nvidia's other wacky floating point formats. This is probably my cue to stop answering reddit/HN comments and go to bed. :D

So: ahem: bfloat16 support is basically just missing the fairly boring header.

> Regarding cublasLt, what is your plan for support there? Pass everything through to hipblasLt (hipify style) or something else?

Prettymuch that, yes. Not much point reimplementing all the math libraries when AMD is doing that part of the legwork already.

Re:Run CUDA, unmodified, on AMD GPUs by anthonix1 on Monday July 15, 2024 @08:53PM (#40972802)
OK, so in the case of llm.c, if you're just including the HIP headers, using hipblasLt, etc, what would be the benefit of using scale instead of hipify?
Re:Run CUDA, unmodified, on AMD GPUs by Straw on Tuesday July 16, 2024 @03:02PM (#40979272)
Seems like a big benefit would come from not forking the codebase into two versions!