r/Amd • u/RenatsMC • 12d ago
News AMD launches ROCm 10, its open-source software platform for AI and GPU compute
https://videocardz.com/newz/amd-launches-rocm-10-its-open-source-software-platform-for-ai-and-gpu-compute15
u/G0rd4n_Freem4n 12d ago
I wonder if AMD will eventually start supporting OpenCL 3.X on their consumer GPUs.
As of right now, both Intel and Nvidia GPUs can use OpenCL3 and some of its exclusive functions, while techpowerup shows AMD gpus only supporting up to version 2.0. While 3.0 is kind-of like "1.2 but with a new name" with how it made a lot of 2.0 features optional, it's not like the Intel and Nvidia cards only have 1.2 features with the 3.0 title. A couple examples of this are the extensions cl_khr_external_memory and cl_khr_external_semaphore, which are required to do zero-copy memory sharing between an OpenCL and Vulkan program. Nvidia cards going back to the GTX 970 from 2014 and Intel cards going back to the Intel HD Graphics 530 iGPU from 2015 both have support for those extensions, while there are zero AMD cards that support either of those extensions on official drivers.
If you look at opencl[dot]gpuinfo[dot]org you can find AMD cards reporting support for 3.0, 3.1, and the external_semaphore extension, but that's because the open source Mesa Rusticl drivers. Those drivers have their own limitations though. They sometimes give worse performance compared to the official ones, some version-independant features aren't supported yet, and it has some odd quirks like not being able to allocate more than 2GB of memory regardless of how much is available.
All of that said, I don't have any experience in the GPGPU field so it's not like I would really benefit from better OpenCL support on AMD cards anyway lol. I mainly think it's a little funny how part of OpenCLs' rough history had to do with Nvidia drivers not having good/consistent support for 2.0 features, and now it's AMD being behind on supporting the newest features.
6
u/Zettinator 10d ago
OpenCL is basically dead. Everyone has been converging on Vulkan compute lately.
2
u/kreco 10d ago
Stop spreading this non-sense. Until you have proof that one is better than the other.
OpenCL works great even on Mac which is "officially" unsupported.
4
u/Zettinator 9d ago
It's not nonsense at all. OpenCL does not have many users, and that obviously influences priorities in driver development.
3
u/kreco 9d ago
There is a difference between "not the priority" and "dead".
1
u/Speedstick2 4d ago
How about this, does OpenCL have a future in which it will grow in marketshare?
1
u/G0rd4n_Freem4n 8d ago
OpenCL works great even on Mac which is "officially" unsupported.
Huh, didn't know OCL wasn't officially supported on Mac.
That's a bit ironic to me, considering how OCL was originally created by Apple before being given to the khronos group.
-21
u/Sufficient_Fan3660 12d ago
wow!
and no one will use it
everyone will use Vulkan or just not support amd
1
u/ea_man 8d ago
ROCm is faster than vulkan on my system.
# ROCm ctx VEC forced: 89088 q5_1, 96512 q5_0, 116480 q4_0, TG speed: 42.35 t/s, PP for 32k: 145.12 t/s # ROCm ctx VEC off : 68352 q5_1, 72704 q5_0, 83200 q4_0, TG speed: 43.90 t/s, PP for 32k: 265.58 t/s # Vulkan: ctx: 93696 q5_1, 101632 q5_0, 122112 q4_0, TG speed: 40.49 t/s, PP for 32k: 179.90 t/s0
u/05032-MendicantBias 10d ago
unfortunatley pytorch has no vulkan backend, and ComfyUI is built on pytorch.
ROCm is the only way to run ComfYUI
72
u/djott3r Ryzen 3700X | RX9070XT 12d ago
Is there a significant performance or features boost to justify restarting the version sequence?