Your message dated Wed, 21 Aug 2024 20:35:42 +0000
with message-id <[email protected]>
and subject line Bug#1077789: fixed in clblas 2.12-6
has caused the Debian Bug report #1077789,
regarding clblas: please apply upstream patch clBLAS aborts with OpenCL Error
-11 in makeGemmKernel Edit
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1077789: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077789
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clblas
Version: 2.12-5
Severity: important
Tags: patch
Executing any of the clblas.gemm functions in libclBLAS.so.2.12.0 (libclblas2
2.12-1build1 on bionic) aborts the calling program with this error message:
OpenCL error -11 [...] clblas-2.12/src/library/blas/xgemm.cc:244: void
makeGemmKernel(_cl_kernel**, cl_command_queue, const char*, const char*, const
unsigned char**, size_t*, const char*): Assertion `false' failed.
The error occurs when the backend is an OpenCL 1.1 device. This includes all
GPUs supported by libclc through mesa-opencl-icd (Clover), that is effectively
all AMD GPUs.
The error can be easily reproduced by running the example from the upstream
README.md[1] on a machine with an AMD GPU, with environment entry
OCL_ICD_VENDORS=mesa.icd.
This bug also affects all BLAS functionality in libarrayfire-opencl3, as can be
seen by running e.g. examples/benchmarks/blas or any of the lin_algebra
examples from the libarrayfire-doc package.
The good news is, there is a fix :-) I have submitted this PR[2] upstream, and
am attaching a dquilt-ready patch as upstream releases (and even pulls to
master) are very infrequent.
[1] https://github.com/clMathLibraries/clBLAS#example
[2] https://github.com/clMathLibraries/clBLAS/pull/342
from: https://bugs.launchpad.net/ubuntu/+source/clblas/+bug/1816887
diff -Nru clblas-2.12/debian/patches/342.patch
clblas-2.12/debian/patches/342.patch
--- clblas-2.12/debian/patches/342.patch 1970-01-01 01:00:00.000000000
+0100
+++ clblas-2.12/debian/patches/342.patch 2024-08-02 09:32:06.000000000
+0200
@@ -0,0 +1,34 @@
+From 8dd6df3f1bf543db3765383b4f9646df50d23d08 Mon Sep 17 00:00:00 2001
+From: Marco van Zwetselaar <[email protected]>
+Date: Wed, 20 Feb 2019 15:48:19 +0300
+Subject: [PATCH] Do not pass the -cl-std option to kernel builds
+
+- Resolves the abort in xgemm.cc:244 for OpenCL 1.1 devices
+---
+ src/library/blas/AutoGemm/Includes.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/library/blas/AutoGemm/Includes.py
b/src/library/blas/AutoGemm/Includes.py
+index 0f616956..e32694d8 100644
+--- a/src/library/blas/AutoGemm/Includes.py
++++ b/src/library/blas/AutoGemm/Includes.py
+@@ -272,8 +272,8 @@ def addKernel(self, kernel):
+ kernelName = kernel.getName()
+ self.incStr += "extern const char * const %s_srcBuildOptions;\n" \
+ % kernelName
+- self.cppStr += "const char * const %s_srcBuildOptions =
\"-cl-std=CL%s\";\n" \
+- % (kernelName, Common.getClCompilerVersion() )
++ self.cppStr += "const char * const %s_srcBuildOptions = \"\";\n" \
++ % kernelName
+
+ self.incFile.write( self.incStr )
+ self.incStr = ""
+@@ -314,7 +314,7 @@ def __init__(self):
+ def addKernel(self, kernel):
+ kernelName = kernel.getName()
+ self.incStr += "extern const char * const %s_binBuildOptions;\n" %
kernelName
+- self.cppStr += "const char * const %s_binBuildOptions =
\"-cl-std=CL%s\";\n" % (kernelName, Common.getClCompilerVersion() )
++ self.cppStr += "const char * const %s_binBuildOptions = \"\";\n" %
kernelName
+
+ self.incFile.write( self.incStr )
+ self.incStr = ""
thanks for considering it.
Gianfranco
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: clblas
Source-Version: 2.12-6
Done: Andreas Beckmann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
clblas, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated clblas package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 21 Aug 2024 22:13:03 +0200
Source: clblas
Architecture: source
Version: 2.12-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1077788 1077789
Changes:
clblas (2.12-6) unstable; urgency=medium
.
* Team upload.
* Fix tests on OpenCL 1.1 devices. Upstream PR#342.
(Closes: #1077789) (LP: #1816887)
* Compile examples during package build.
* Fix building and testing with GCC 14. Upstream PR#362. (Closes: #1077788)
Checksums-Sha1:
e27b552f2313991f8008a19dd69885b935778d94 2394 clblas_2.12-6.dsc
17bed5f058fd8fefb411a66f426a0db8fa23c8ab 15668 clblas_2.12-6.debian.tar.xz
6948d3186dc8eed69aae52ee93235cdc5401ecdf 7482 clblas_2.12-6_source.buildinfo
Checksums-Sha256:
5b22b2038fba2188a646914ca12a22555e66c96a3a27792f3ec99760289aca91 2394
clblas_2.12-6.dsc
6c85cf775939c3fa2f1ac8996a34634d8ae22c7e68b82555a666ca541064564a 15668
clblas_2.12-6.debian.tar.xz
db29c0a347938f48b6d9adbb9e2db5ce707c57e6a90de78c331a8a55970ee382 7482
clblas_2.12-6_source.buildinfo
Files:
7bcb3355180d3b1a24f7e2f1f06a6278 2394 science optional clblas_2.12-6.dsc
f3d912875d45e310653e26a8b3e0dc28 15668 science optional
clblas_2.12-6.debian.tar.xz
b9be121355fdcf3fd23ad587c3d985c0 7482 science optional
clblas_2.12-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmbGSrEQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCLkyD/9/T2fC3J4lnJy6FQMVDKdEGM0Eo9pesIoL
jF2V6V6VbTJlucFe8qB9lQAGTt31d5MbCHEyvSm2y/h0iaDFUlpY+eLv6k9faLak
uwsZDmjPgwjaIxUcAZ6cigJ5iFOO6UoTVZFpt2sKS6Q6VMbm852pq1sxyryT1OSt
tyeY8gYrXvrrFNFopOXkRaprepyO/ttwvegdLxX+4uNsyZHzYWEm7Fs9WVUPHhFk
ZGwZ2RSNWHwmqqmlzIU1lqcjij8jUnUdwJoLaGsrJTSgnU0/SwaGjAZ3OvD7XY4i
CMN07CsRevPSSya8QMzJStbfmE/GPOnECNf3rHVDCu9eY9HBHeMiN+l2y/NA9c6O
oba0zF2uJ8gPuXBlErULvoQYBAUwVN6WqyMtj3TOQ7dOBd+GZ2w5hQCv46lD3UkU
iNX4MNkqA5JVDK/a42HvJIFaDtPScqcNnihS6FJrIJqL8BoNW0RGXDLDrzJJYzvK
4KVtpsuBEj23+bHQIx9lTEmimZUS0rHiOFciqlF2P56i/2lrxnpaWe4kB7sf91JA
cBSiQxk1ERXyUwkgTjk1Zh1M5xdx2Y0d+sBuq8BK9KBpzWLKcMvGlXeW7cFKUq9u
VZKQFkFYE06/56oYcmrQChI+p8N7anmzY+vKkZ0a3DRwD/eUcQEy/N13FDMt4qvU
qgWSIeLTaw==
=dKu3
-----END PGP SIGNATURE-----
pgpZ48WZkLLgw.pgp
Description: PGP signature
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers