warp.device_to_paddle#
- warp.device_to_paddle(warp_device)[source]#
Return the Paddle device string corresponding to a Warp device.
- Parameters:
warp_device (Device | str | None) – An identifier that can be resolved to a
warp._src.context.Device.- Raises:
RuntimeError – The Warp device is not compatible with PyPaddle.
- Return type: