Beignet: OpenCL/GPGPU Comes For Ivy Bridge On Linux
Phoronix: Beignet: OpenCL/GPGPU Comes For Ivy Bridge On Linux
For the open-source Radeon and Nouveau graphics drivers on Linux, OpenCL/GPGPU support has been implemented via the "Clover" OpenCL state tracker with the Radeon/Nouveau drivers built atop the Gallium3D driver architecture. While Intel's latest hardware supports OpenCL with its graphics core, their open-source Linux driver has lacked any support, but that is changing...
So this depends on X?
So how do you use this on Wayland?
How do you use this on servers for GPGPU computing?
I don't understand the technicalities behind it, but wayland is developed by intel, I doubt they would undermine their own project.
Intel graphics is not meant to be used on servers, there are no xeons with it, and they have a specific product for that: xeon phi.
It's hard to say exactly what that is supposed to mean. You could probably say Wayland uses several X11 components, so maybe it's not really a dependency like you think it is.
Originally Posted by uid313
I'm sooo excited about that! Maybe next year I will be able to use GIMP and Darktable with GPU OpenCL on my Intel ultrabook!
So why doesn't this work with Sandy parts? Afaik the GPU architectures are quite similar, if not identical
No, they aren't. Ivy was the first hardware from Intel able to support OpenCL fully - i think it was the same hardware limitation AMD had in the HD4000 series, but don't hold me to that.
Originally Posted by Raven3x7
I am the one who used to work on this code. Unfortunately, I am working for Intel anymore. I am not sure what the future will be for this code base. More info here:
This code base only uses documented parts of the chip so I guess that anybody motivated to play with it should be able to do so :-)
About SandyBridge, the two architectures are pretty different and it will require a large amount of work to make it run on this machine. If you read both specs (both online), you will see that a substantial amount of features have been added to IVB to make it a DX11 chip.
I created a Fork of beignet on github: https://github.com/karolherbst/beignet/tree/changes
my goal is it to make beignet full ICD compatible (what means to implement parts of cl_khr_icd extension). I think this would be a very good thing, because beignet could be then loaded and used by third party implementation. In the current state it is a bit useless, because I can't use the intel HD4000 with other system devices for computing (ivb i7 + nvidia gpu).
But most of the changes are stored locally, because I can't find llvm with cmake (I don't have the llvm cmake files) and put nearly everything into cl_api.c
But are there any other efforts to have an OpenCL implementation for intel GPUs on Linux?
This sounds really good. Note that there is a Makefile build system that does not require to have CMake files (one way to have Cmake files for LLVM is to compile LLVM with CMake :-)). As for further development, the best you can do is to contact Keith (Packard) to ask what they have in mind. I left Intel two months ago so I am not fully up-to-date about they are doing and what they want to do. As for technical questions, I can obviously answer. Use my personal email.
Originally Posted by karolherbst
Note that it was a *spare time* project of me at Intel. I never was in OTC (open source group) (I was in the GPU architecture team). So, at the time I was at Intel, nobody inside OTC worked on it. Just me and Keith who helped me to make the code base more presentable and easier to build :-)