Skip to content

Commit

Permalink
hfft needs cuda for the same reason
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrbrtsn committed Dec 4, 2024
1 parent 4a13cd7 commit f1f1955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _setup_cuda_fft_multiply_repeated(n_jobs, h, n_fft, kind="FFT FIR filtering"

try:
# do the IFFT normalization now so we don't have to later
h_fft = cupy.asarray(_share_cuda_mem(cuda_dict["h_fft"], n_jobs))
h_fft = cupy.asarray(_share_cuda_mem(cuda_dict["h_fft"], "cuda"))
logger.info(f"Using CUDA for {kind}")
except Exception as exp:
logger.info(
Expand Down

0 comments on commit f1f1955

Please sign in to comment.