spdl.io.utils.built_with_cuda

built_with_cuda() → bool[source]

Check if SPDL is compiled with CUDA support.

It loads neither the CUDA extension nor the CUDA runtime.

Returns:

True if SPDL is compiled with CUDA support.