From 736388370f8bc42684c73e23c7226f1b3ed84e19 Mon Sep 17 00:00:00 2001 From: Benedikt Daurer Date: Wed, 31 Jan 2024 14:53:10 +0000 Subject: [PATCH] import was missing --- ptypy/accelerate/cuda_pycuda/cufft.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ptypy/accelerate/cuda_pycuda/cufft.py b/ptypy/accelerate/cuda_pycuda/cufft.py index 3ff54d55c..5364f092d 100644 --- a/ptypy/accelerate/cuda_pycuda/cufft.py +++ b/ptypy/accelerate/cuda_pycuda/cufft.py @@ -142,6 +142,7 @@ def _load(self, array, pre_fft, post_fft, symmetric, forward): int((self.arr_shape[1] + 31) // 32), int(self.batches) ) + import skcuda.fft as cu_fft self.plan = cu_fft.Plan( self.arr_shape, array.dtype,