News for hackers. Stuff that matters.
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by Kelteseth on Thursday February 15, 2024 @05:16AM (#39380992)
Can someone explain why they update to Clang 7, that was released 19 September 2018?
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by kevingadd on Saturday February 17, 2024 @01:35AM (#39406974)
It's very very common for software like shader compilers or AOT compilers for other languages to be based on old clang/llvm forks.
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by zbendefy on Thursday February 15, 2024 @04:38AM (#39380746)
It seems they are finally enable the 16bit float extension in their OpenCL implementation.
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by bbcc90 on Saturday February 17, 2024 @01:44AM (#39407013)
any idea why this took them so long?
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by pixelpoet on Saturday February 17, 2024 @02:00AM (#39407085)
Because they have a near monopoly with Cuda and get away with dragging their heels due to lack of market pressure (everyone loves to lock themselves into Cuda and then complain about GPU prices), despite having been on the OpenCL committee (just like Apple with Metal conflict of interest).

Anyway, I'm very glad to see it and will be using it immediately.

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by dotnet00 on Saturday February 17, 2024 @02:46AM (#39407338)
Also because none of the competition were/are serious about OpenCL either.

AMD still doesn't have OpenCL 3.0 support and their implementation of previous versions was far far less stable than CUDA.

I can't find a definite source on this, but afaik none of the official OpenCL implementations have ever fully supported mixed CPU-GPU code the way CUDA does.

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by pjmlp on Saturday February 17, 2024 @03:38AM (#39407611)
On top of that even the "do no evil" Google, never supported OpenCL on Android, pushing instead their own dialect, Renderscript.

Yes, there are some custom Android deployments that have a libopencl.so kind of thing, it is used by the OEMs themselves, and never exposed as official Android API.

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by nomel on Saturday February 17, 2024 @02:47AM (#39407349)
This is why I am investing in AMD. They can only improve!
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by pixelpoet on Saturday February 17, 2024 @05:16AM (#39408137)
AMD's OpenCL support on GPU is overall excellent in my experience (2x commercial apps and lots of hobby code), but I tend to mostly use low level OpenCL 1.1 stuff, which I find sufficient.

Also Intel GPUs are actually incredibly competent with OpenCL if you give them wide enough NDrange, and somehow try to look past lack of any fp64 support at all :/

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by my123 on Saturday February 17, 2024 @12:57PM (#39411696)
CUDA itself only got bumped from LLVM 5 to LLVM 7 in CUDA 11.2 (https://developer.nvidia.com/blog/boosting-productivity-and-...).

LLVM 7 opt-in for OpenCL happened some time later (available since r510). What changes now is that LLVM 7 is the new default.

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by Aardwolf on Saturday February 17, 2024 @03:37AM (#39407603)
Is this the IEEE float16 type or the bfloat16 type? It doesn't say
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by pixelpoet on Saturday February 17, 2024 @05:25AM (#39408178)
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by my123 on Saturday February 17, 2024 @12:56PM (#39411684)
IEEE
Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by peppermint_gum on Saturday February 17, 2024 @04:30AM (#39407876)
It doesn't seem it's new. The release notes for the 511.79 driver from February 2022 say the same thing:

https://us.download.nvidia.com/Windows/511.79/511.79-win11-w...

Re:New Nvidia driver adds 16bit float support to OpenCL [pdf] by pixelpoet on Saturday February 17, 2024 @05:25AM (#39408175)
It was some kind of opt-in option (which I wasn't even aware of), now it's on by default / rolled out to everyone.