If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Beignet: OpenCL/GPGPU Comes For Ivy Bridge On Linux

01-10-2013, 11:30 AM

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...

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.

Cheers,
Ben

Comment

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?

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.

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 :-)