warp.get_device#

warp.get_device(ident=None)[source]#

Returns the device identified by the argument.

Parameters:

ident (Device | str | None)

Return type:

Device