warp.is_device_available# warp.is_device_available(device)[source]# Check whether a device is available in the current environment. Parameters: device (Device) – The Device to check. Returns: True if the device is in the list returned by get_devices(), False otherwise. Return type: bool See also get_devices(), get_device(), is_cpu_available(), is_cuda_available()