[Pkg-opencl-devel] Bug#933732: causes piglit test failure
Simon Richter
sjr at debian.org
Fri Aug 2 16:27:38 BST 2019
Package: ocl-icd-libopencl1
Version: 2.2.12-2
Severity: minor
Tags: upstream
Hi,
I have a single OpenCL ICD installed, and am running piglit tests against
it. I get a test failure in the clGetExtensionFunctionForPlatform test,
which expects NULL to be returned when the platform parameter passed is
NULL. The implementation in ocl-icd does
platform=selectPlatformID(platform);
which selects the platform if only one is available, causing the test to
fail.
If that is indeed correct behaviour according to the spec, then the
testsuite is wrong, but as far as I've understood it, this function should
not fall back to the default platform if the parameter that is passed is
NULL.
Simon
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-9-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages ocl-icd-libopencl1 depends on:
ii libc6 2.28-10
ocl-icd-libopencl1 recommends no packages.
Versions of packages ocl-icd-libopencl1 suggests:
pn opencl-icd <none>
-- no debconf information
More information about the Pkg-opencl-devel
mailing list