Utilities#

General-purpose helpers used throughout TMol.

tmol.utility.resolve_device(device: device) → device[source]#

Resolve an unindexed CUDA device to the current device and any CPU to “cpu”.

Was this page helpful?

Was this page helpful?