開発版ドキュメント · 0.2.7 12b76261 · 入門例の検証対象 0.2.4 · 版情報 · 既知の制限

gwexpy.interop.cupy_#

CuPy interop helpers.

Functions

from_cupy(cls, array, t0, dt[, unit])

Create a GWexpy object from a CuPy array.

is_cupy_available()

Check whether CuPy is installed and the CUDA environment is usable.

to_cupy(obj[, dtype])

Convert an object to a CuPy array.

gwexpy.interop.cupy_.is_cupy_available()#

Check whether CuPy is installed and the CUDA environment is usable.

gwexpy.interop.cupy_.to_cupy(obj, dtype=None)#

Convert an object to a CuPy array.

gwexpy.interop.cupy_.from_cupy(cls, array, t0, dt, unit=None)#

Create a GWexpy object from a CuPy array.