Open3D (C++ API)  0.17.0
Data Fields
DLContext Struct Reference

A Device context for Tensor and operator. More...

#include <DLPack.h>

Data Fields

DLDeviceType device_type
 The device type used in the device. More...
 
int device_id
 The device index. More...
 

Detailed Description

A Device context for Tensor and operator.

Field Documentation

◆ device_id

int DLContext::device_id

The device index.

◆ device_type

DLDeviceType DLContext::device_type

The device type used in the device.


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