The following program gets rocFFT-5.1.3 to crash ``` $ cat rocm_fft.py import cupy as cp from cupyx.scipy.signal import fftconvolve print(fftconvolve(cp.ones(1060), cp.ones(62), mode="full")) $ python3 rocm_fft.py python3: /tmp/portage/dev-util/hip-5.4.3/work/ROCclr-rocm-5.4.3/cmake/../thread/monitor.hpp:180: bool amd::Monitor::tryLock(): Assertion `thread != NULL && "cannot lock() from (null)"' failed. [3] 233007 abort python3 rocm_fft.py ``` [ebuild R ] sci-libs/rocFFT-5.1.3-r1:0/5.1::gentoo USE="-benchmark* -perfscripts -test" AMDGPU_TARGETS="gfx908 -gfx90a -gfx803 -gfx900 -gfx906 -gfx1010 -gfx1011 -gfx1012 -gfx1030 -gfx1031" PYTHON_TARGETS="python3_11 -python3_10" 0 KiB Reproducible: Always
Temporary workaround: export ROCFFT_RTC_PROCESS=1 Reference: https://github.com/ROCmSoftwarePlatform/rocFFT/issues/389