<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>Nabu maintainer here. <br>
Thank you for your work to integrate nabu in Debian.<br>
</p>
<p>Following up this problem, I believe that the source of the issue
is VKFFT when used with a non-standard shape doing real-to-complex
transform.<br>
Here is a minimalist code (not involving nabu) that makes pocl
crash (just tested on a fresh sid installation in a chroot on my
side):<br>
</p>
<pre class="code highlight" lang="python"><span><span class="kn">import</span> <span
class="n">numpy</span> <span class="k">as</span> <span class="n">np</span></span>
<span><span class="kn">import</span> <span class="n">pyopencl</span> <span
class="k">as</span> <span class="n">cl</span></span>
<span><span class="kn">import</span> <span class="n">pyopencl.array</span> <span
class="k">as</span> <span class="n">parray</span></span>
<span><span class="kn">from</span> <span class="n">pyvkfft.opencl</span> <span
class="kn">import</span> <span class="n">VkFFTApp</span></span>
<span></span>
<span><span class="n">ctx</span> <span class="o">=</span> <span
class="n">cl</span><span class="p">.</span><span class="nf">create_some_context</span><span
class="p">()</span></span>
<span><span class="n">queue</span> <span class="o">=</span> <span
class="n">cl</span><span class="p">.</span><span class="nc">CommandQueue</span><span
class="p">(</span><span class="n">ctx</span><span class="p">)</span></span>
<span></span>
<span><span class="n">d_in</span> <span class="o">=</span> <span
class="n">parray</span><span class="p">.</span><span class="nf">zeros</span><span
class="p">(</span><span class="n">queue</span><span class="p">,</span> <span
class="mi">300</span><span class="p">,</span> <span class="sh">"</span><span
class="s">f</span><span class="sh">"</span><span class="p">)</span></span>
<span><span class="n">d_out</span> <span class="o">=</span> <span
class="n">parray</span><span class="p">.</span><span class="nf">zeros</span><span
class="p">(</span><span class="n">queue</span><span class="p">,</span> <span
class="mi">151</span><span class="p">,</span> <span class="n">np</span><span
class="p">.</span><span class="n">complex64</span><span class="p">)</span></span>
<span></span>
<span><span class="n">vk0</span> <span class="o">=</span> <span
class="nc">VkFFTApp</span><span class="p">(</span><span class="n">d_in</span><span
class="p">.</span><span class="n">shape</span><span class="p">,</span> <span
class="n">np</span><span class="p">.</span><span class="n">float32</span><span
class="p">,</span> <span class="n">queue</span><span class="p">,</span> <span
class="n">r2c</span><span class="o">=</span><span class="bp">True</span><span
class="p">,</span> <span class="n">inplace</span><span class="o">=</span><span
class="bp">False</span><span class="p">)</span></span>
<span><span class="n">vk0</span><span class="p">.</span><span class="nf">fft</span><span
class="p">(</span><span class="n">d_in</span><span class="p">,</span> <span
class="n">dest</span><span class="o">=</span><span class="n">d_out</span><span
class="p">)</span></span>
</pre>
<p>In nabu, the specific unit test involving vkfft + this "unusual"
transform <a
href="https://gitlab.esrf.fr/tomotools/nabu/-/merge_requests/518">has
been disabled</a> in nabu 2024.2.0, which released a few days
ago.<br>
So I'd advise to use the latest pypi release (now nabu 2024.2.1)
if possible.</p>
<p>Thank you,</p>
<p>Best regards,</p>
<p>Pierre<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 18/12/2024 à 14:12, Jerome Kieffer a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:20241218141234.217f313e@lintaillefer.esrf.fr">
<pre class="moz-quote-pre" wrap="">
Begin forwarded message:
Date: Wed, 18 Dec 2024 09:38:25 +0100
From: Andreas Tille <a class="moz-txt-link-rfc2396E" href="mailto:tille@debian.org"><tille@debian.org></a>
To: Debian Bug Tracking System <a class="moz-txt-link-rfc2396E" href="mailto:submit@bugs.debian.org"><submit@bugs.debian.org></a>
Subject: [Debian-pan-maintainers] Bug#1090719: nabu: Debci errors with latest pocl
Source: nabu
Version: 2024.2.0-1
Severity: important
X-Debbugs-Cc: <a class="moz-txt-link-abbreviated" href="mailto:1086460@bugs.debian.org">1086460@bugs.debian.org</a>
Hi,
as you can see in Debci log[1] nabu fails its autopkgtest since the
latest upload of pocl. This affects the pocl testing migration as well
as quite a number of resulting autoremoval of pocl rdepends. It would
be great if you could have a look.
My personal first approach would be to upgrade the latest micro version
upgrade of nabu, but that's just a gut feeling.
Kind regards
Andreas.
[1] <a class="moz-txt-link-freetext" href="https://ci.debian.net/packages/n/nabu/testing/amd64/55507284/">https://ci.debian.net/packages/n/nabu/testing/amd64/55507284/</a>
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
</pre>
</blockquote>
</body>
</html>