ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
DLDevice Struct Reference

A Device for Tensor and operator. More...

#include <DLPack.h>

Public Attributes

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.

Member Data 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: