cloudViewer.core.Device#

class cloudViewer.core.Device#

Device context specifying device type and device id.

class DeviceType(value)#

An enumeration.

CPU = 0#
CUDA = 1#
SYCL = 2#
__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: cloudViewer.core.Device) -> None

  2. __init__(self: cloudViewer.core.Device, arg0: cloudViewer::core::Device::DeviceType, arg1: typing.SupportsInt) -> None

  3. __init__(self: cloudViewer.core.Device, arg0: str, arg1: typing.SupportsInt) -> None

  4. __init__(self: cloudViewer.core.Device, arg0: str) -> None

get_id(self: cloudViewer.core.Device) int#
get_type(self: cloudViewer.core.Device) cloudViewer::core::Device::DeviceType#