[Pkg-opencl-devel] OpenCL architectures

Andreas Beckmann anbe at debian.org
Tue Jul 5 06:08:40 UTC 2016


On 2016-07-04 10:16, Tomasz Rybak wrote:
> I've checked status of available ICD providers, and:
> * PyOpenCL is built for amd64 and i386
> * Pocl is built for amd64, i386, kfreebsd-amd64, mips64el, powerpcspe
with the last upload (and the switch to llvm 3.8) this list is down to
amd64, i386 :-(
and powerpcspe was probably only "succcessful" due to using
DEB_BUILD_OPTIONS=nocheck

> * Beignet is built for amd64, i386, kfreebsd-amd64, and kfreebsd-i386
> * Mesa is built for amd64, i386, and armhf
> * NVIDIA is built for amd64 and ppc64el
and i386

> ocl-icd-libopencl1 is available for all architectures but I assume
> this is done to allof for experimenting with new OpenCL providers.
> 
> I'd like to deal with this bug. I could change architecture to "any"
> but this would mean that PyOpenCL is build for architectures for which
> there is no ICD available. I can also put union of all mentioned 
> architectures:
> Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf ppc64el mips64el 
> powerpcspe
> It seems a bit overkill, but doable.
> 
> Which should I choose? I'm leaning towards second option, i.e. listing
> all architectures by hand.

depends a bit on the role of pyopencl - if it is similar to libopencl1,
the "any" might do. Otherwise it would be nice to have tests run at
build time ... and since that wont work in many cases due to hardware
requirements, before adding a new architecture pyopencl should have been
veryfied to work correctly against the available (proprietary) ICDs.


Andreas




More information about the Pkg-opencl-devel mailing list