OpenCL 1.2 headers package

Tomasz Rybak bogomips at post.pl
Wed Jan 25 13:09:17 UTC 2012


On Tue, 2012-01-24 at 23:42 +0100, Tomasz Rybak wrote:
> On Mon, 2012-01-23 at 21:54 +0100, Andreas Beckmann wrote:
> > On 2012-01-22 16:17, Tomasz Rybak wrote:
> > > Hello.
> > > Are there plans for uploading OpenCL 1.2 headers package
> > > to Debian? Khronos has released 1.2 headers on 2011-11-15.
> > > I am working on PyOpenCL (and header package helps me - thanks)
> > > and I am wondering whether there is plan to upload new
> > > headers - then I think I shall wait with uploading PyOpenCL.
> > 
> > Uploaded to experimental. Please test it. Are there any compilation or
> > runtime problems to be expected when using 1.2 headers but wants to run
> > with the 1.1 implementation (now we have both nvidia and amd available,
> > but I'm not sure whether they do support 1.2 features, yet).
> 
> Thanks. PyOpenCL compiles with new headers (giving some warnings
> about functions deprecated in 1.2) but it does not run.
> It looks like OpenCL programs (at least PyOpenCL) expect to have
> OpenCL 1.2 libraries when they see 1.2 headers. I have tried to
> install fglrx 8-93-10, but they only seem to hang my machine.
> 
> So do not upload new headers into unstable until there is
> OpenCL 1.2 provider. But thanks for preparing package, and
> please leave it in experimental - I will try to play with
> it a little more.

Update on situation.
I have created local packages with 8-93-10 drivers changing
version in debian/changelog to 11-10-1 (a. to avoid problems
with mesa-alternatives requiring >>1:11-8 and b. to be able to
return to Debian drivers by simple apt-get upgrade).
After installing local *.deb (I had to run dpkg --configure -a
by hand few times to force all packages to be configured
during downgrade) I have working X with OpenCL; in the lower
right corner of the screen I have AMD logo with "Testing use only"
text.

It looks like library exports OpenCL 1.2 functions, but does
not provide implementation of them. clinfo returns 1.1 as
OpenCL version and 851.6 as driver version:
OpenCL 1.1 AMD-APP (851.6)
PyOpenCL builds with new headers and this driver, but unit tests
return some errors. I will send email to PyOpenCL mailing list
and we will try to solve those problems.

In summary, OpenCL 1.2 is really experimental for now.

Best regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20120125/4c94b94c/attachment.pgp>


More information about the pkg-nvidia-devel mailing list