Article 4T9FK Beignet (OpenCL for Intel Gen3+ processors GPU) slackbuild for slackware-current

Beignet (OpenCL for Intel Gen3+ processors GPU) slackbuild for slackware-current

by
Stanson
from LinuxQuestions.org on (#4T9FK)
https://github.com/stanson-ch/beignet.SlackBuild

Got my Haswell Core i5-4300M with HD4600 OpenCL'ed again. Works flawlessly. At least in GIMP I get significant acceleration for filters (f.e. Linear Motion Blur).

Most patches for beignet-1.3.2 are from Debian sid, patches for llvm8 and 9 are from Arch, beignet.patch is mine.

I recommend to run tests after building. You can run them without package installation:

Code:cd /tmp/SBo/Beignet-1.3.2-Source/build/utests
make
. setenv.sh
./utests_runBe patient, it will take some time. You should get long list with test results with someting like
Code:summary:
----------
total: 1002
run: 961
pass: 960
fail: 1
pass rate: 0.998959
[Inferior 1 (process 13657) exited normally]at the end.

One test fails ( compiler_rotate() ), but it seems this is a bug in test itself. :)

It is also a good idea to disable Mesa OpenCL if you don't have AMD GPU:
Code:mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/mesa.icd.disabledIf everything is OK, I will try to push it to Ponce slackbuilds repo.
There still some warnings left, if somebody could and want to fix them - you are welcome.latest?d=yIl2AUoC8zA latest?i=FqQq_32qzt8:R5ba0zrMfmY:F7zBnMy latest?i=FqQq_32qzt8:R5ba0zrMfmY:V_sGLiP latest?d=qj6IDK7rITs latest?i=FqQq_32qzt8:R5ba0zrMfmY:gIN9vFwFqQq_32qzt8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments