Open3D (C++ API)  0.19.0
Data Fields
DLDevice Struct Reference

A Device for Tensor and operator. More...

#include <DLPack.h>

Data Fields

DLDeviceType device_type
 The device type used in the device. More...
 
int32_t device_id
 The device index. For vanilla CPU memory, pinned memory, or managed memory, this is set to 0. More...
 

Detailed Description

A Device for Tensor and operator.

Field Documentation

◆ device_id

int32_t DLDevice::device_id

The device index. For vanilla CPU memory, pinned memory, or managed memory, this is set to 0.

◆ device_type

DLDeviceType DLDevice::device_type

The device type used in the device.


The documentation for this struct was generated from the following file: