Hacker News new | ask | show | jobs
by josefx 3354 days ago
I once tried to use OpenCL when I was still a student. The only Linux support for my Intel GPU I could find aborted various calls with "not implemented".

I am sure their Windows driver actually worked. However that still meant that for my hardware OpenCL was about as portable as CUDA. Just with a Windows lock-in instead of a NVIDIA lock-in.

Edit: Just to note this was a few years ago. I have no idea what the current state is.

2 comments

I tried it last week: OpenCL support for AMD was just an apt-get away in Debian testing, working with the open source drivers.
Note I used Intel as example, not only because that is what I had at the time, but also because it is a notable third party OpenCL vendor. If you associate OpenCL with AMD then you might as well use CUDA on NVIDIA.
I wasn't trying to imply that! Just wanted to state that things have changed and support is pretty good nowadays (for Intel GPUs, too, BTW, I just have never personally tried those).
A few years ago, we didn't have AMDGPU. That represents a huge change in the open driver landscape.

It's not perfect, but it's already quite good, and improving rapidly.

If you are interested in following/contributing to OpenCL in Mesa on AMDGPU, I suggest starting from this bug: https://bugs.freedesktop.org/show_bug.cgi?id=99553