You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.
The text was updated successfully, but these errors were encountered:
aseyboldt
changed the title
Invalid code generation for np.power involving integers and fastmath
Segfault in np.power involving integers and fastmath
May 2, 2024
Hi @aseyboldt, Thanks for reporting the issue. I can confirm the same locally on a Ubuntu Linux too. Not sure right now from where the error is originating, marking this as needs triage.
Could you please provide some additional information like the CPU info,OS version, libm version, whether SVML was installed or not along with the code/logical path that produces the said error.
The following code segfaults on my machine:
It generates the following llvm code:
Without the
fastmath
it uses@llvm.pow.f64
with no problems.The generated assembly calls
__powidf2
Maybe this is just a variant of this issue, but for some reason I see a segfault instead?
A user also reported seeing the missing symbol error in a related case.
I'm on arch linux, and I see the same problem both with numba from the numba conda channel and from numba installed systemwide from the arch package.
visible in the release notes
(https://numba.readthedocs.io/en/stable/release-notes-overview.html).
i.e. it's possible to run as 'python bug.py'.
The text was updated successfully, but these errors were encountered: