open3d.core.Device#
- class open3d.core.Device#
Device context specifying device type and device id.
- class DeviceType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
- CPU = 0#
- CUDA = 1#
- SYCL = 2#
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.pybind.core.Device) -> None
__init__(self: open3d.pybind.core.Device, arg0: open3d.pybind.core.Device.DeviceType, arg1: typing.SupportsInt) -> None
__init__(self: open3d.pybind.core.Device, arg0: str, arg1: typing.SupportsInt) -> None
__init__(self: open3d.pybind.core.Device, arg0: str) -> None
- get_id(self: open3d.pybind.core.Device) int#
- get_type(self: open3d.pybind.core.Device) open3d.pybind.core.Device.DeviceType#
- CPU = 0#
- CUDA = 1#
- SYCL = 2#