PandA-2024.02
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.

Definition at line 69 of file dlpack.h.

Field Documentation

◆ device_id

int DLContext::device_id

The device index.

Definition at line 73 of file dlpack.h.

◆ device_type

DLDeviceType DLContext::device_type

The device type used in the device.

Definition at line 71 of file dlpack.h.


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

Generated on Mon Feb 12 2024 13:03:50 for PandA-2024.02 by doxygen 1.8.13