OpenCL Development & Haswell

Hello there!

I am trying to develop and run OpenCL on my laptop. I’m using an Intel’s intergrated graphics to the CPU Intel 4710HQ. soo HD4600 and running on manjaro XFCE 20.2

After visiting many guides, and so on there is one thing that I cannot do. Beignet will never compile. Even downloading the package from discover…manjaro…packages (can’t post links yet :P) will result in beignet not found even if I pressed the install button!

So I was trying to manually fix this and managed to download it from git. So here I am while compiling it stuck on a fatal error :

beignet/src/beignet/backend/src/llvm/llvm_includes.hpp:106:10: fatal error: llvm/IR/CallSite.h: No such file or directory
106 | #include “llvm/IR/CallSite.h”
compilation terminated.

So trying to fix that I did download llvm11 as from a comment I learnt that this version will not compile unless you patch that or change some other lines.

But there is no luck there!

If anyone has any suggestions considering this error ,or alternatives I’d be glad to hear them. Thank you in advance.

P.S. I am considering being way off the right path on this one.

1 Like

You can try propriety driver by AMD
https://wiki.archlinux.org/index.php/AMD_Catalyst
See this it compatible with your GPU
but you need to downgrade the xorg version to Xorg117

Hi Watynecc! Thank you so much for your answer. First of all, new year is just around the corner so in advance, I wish you a happy new year.

I have a Nvidia GTX980m GPU so I think this will not work. Do you think it will? I can try it.

Thanks again in advance!

1 Like

Oh is a NVIDiA card
https://wiki.archlinux.org/index.php/GPGPU#NVIDIA
read this UWu