[Beignet] Bug#724808: ocl-icd-libopencl1: Handle invalid object references

Simon Richter sjr at debian.org
Fri Sep 27 23:47:29 PDT 2013


Package: ocl-icd-libopencl1
Version: 1.3-3+debug
Severity: minor

Running the Piglit test suite reports several errors where NULL pointers
are dereferenced in libOpenCL.so. Apparently, OpenCL implementations are
expected to recognize NULL pointers as invalid object references.

I could not find scripture to support this, but it might be a good idea
nonetheless (i.e. clGetKernelInfo returns CL_INVALID_KERNEL if given a NULL
pointer, etc.).

Higher than wishlist as it makes running the compliance test suite show
false negatives.

   Simon

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocl-icd-libopencl1 depends on:
ii  libc6              2.17-93
ii  multiarch-support  2.13-38

ocl-icd-libopencl1 recommends no packages.

Versions of packages ocl-icd-libopencl1 suggests:
ii  amd-opencl-icd [opencl-icd]     1:12-6+point-3
ii  beignet [opencl-icd]            0.2+git20130928+187c17e-1
ii  nvidia-opencl-icd [opencl-icd]  304.88-1+deb7u1

-- no debconf information


More information about the Beignet mailing list