Skip to content

novaphy.has_sph_cuda

Returns whether the SPH CUDA backend is available.

def has_sph_cuda() -> bool

When False, the public SolverSPH / SPHConfig surface is still present, but there is no runnable backend for a non-empty step. The current implementation has no CPU fallback. When True, SPHBackendKind .CUDA is available to SPHConfig.

See Also