warp.get_preferred_device# warp.get_preferred_device()[source]# Return the preferred compute device, cuda:0 if available and cpu otherwise. Return type: Device