gwexpy.interop.cupy_
CuPy interop helpers.
Functions
|
Create a GWexpy object from a CuPy array. |
|
Check whether CuPy is installed and the CUDA environment is usable. |
|
Convert an object to a CuPy array. |
- gwexpy.interop.cupy_.is_cupy_available()[source]
Check whether CuPy is installed and the CUDA environment is usable.
- gwexpy.interop.cupy_.to_cupy(obj, dtype=None)[source]
Convert an object to a CuPy array.
- gwexpy.interop.cupy_.from_cupy(cls, array, t0, dt, unit=None)[source]
Create a GWexpy object from a CuPy array.