Hi there,

First post here, so first of all thanks for building Beignet and this
1.3 release!

I’m ArchLinux packager for beignet[0], and I’m trying to figure out
how/if I should package Beignet with OpenCL 2.0 support.

From what I understand, compiling with -DENABLE_OPENCL_20=1 just results
in two added files:

/usr/lib/beignet/beignet_20.bc
/usr/lib/beignet/beignet_20.pch

But to get to this result, I had to bypass the check at compilation time
since I’m not compiling on SKL+. However some users might very well be
using SKL+.

So, my question mostly is: outside of the issue stated in the README
about use of `-cl-std=CL1.2`, is there any downside in compiling with
OpenCL 2.0 support, in particular when considering the package will be
used on pre-SKL machines? Especially, why is the build process depending
on the hardware it is build on? This is not a good thing in general for
packaging in distro.

Thanks,
Bruno

[0] https://aur.archlinux.org/packages/beignet

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to