Skip to content

Commit

Permalink
Removed dependence on CuPy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas committed Apr 16, 2024
1 parent 77b96f3 commit 75f0343
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mpi4py_fft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
__author__ = 'Lisandro Dalcin and Mikael Mortensen'

from .distarray import DistArray, newDistArray, Function
from .distarrayCuPy import DistArrayCuPy
from .mpifft import PFFT
from . import fftw
from .fftw import fftlib
from .io import HDF5File, NCFile, generate_xdmf

try:
from .distarrayCuPy import DistArrayCuPy
except ModuleNotFoundError:
pass

0 comments on commit 75f0343

Please sign in to comment.