From d753451b68f5760c73b7054822e0a2d1d2bc40bb Mon Sep 17 00:00:00 2001 From: Dmitrii Tolmachev Date: Wed, 28 Feb 2024 08:27:07 +0100 Subject: [PATCH] Bugfix (#156) -fixed missing line that was lost somewhere during v1.3.0 reorganization of read/write module --- .../vkFFT_KernelsLevel1/PrePostProcessing/vkFFT_Convolution.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vkFFT/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel1/PrePostProcessing/vkFFT_Convolution.h b/vkFFT/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel1/PrePostProcessing/vkFFT_Convolution.h index f2c8368..5bde505 100644 --- a/vkFFT/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel1/PrePostProcessing/vkFFT_Convolution.h +++ b/vkFFT/vkFFT/vkFFT_CodeGen/vkFFT_KernelsLevel1/PrePostProcessing/vkFFT_Convolution.h @@ -282,6 +282,8 @@ static inline void appendKernelConvolution(VkFFTSpecializationConstantsLayout* s PfAdd(sc, &sc->inoutID_y, &sc->inoutID_y, &sc->shiftY); + temp_int.data.i = batching_localSize.data.i; + if ((sc->size[1].data.i % temp_int.data.i) != 0) { #if (VKFFT_BACKEND!=2) //AMD compiler fix PfIf_lt_start(sc, &sc->inoutID_y, &sc->size[1]);