Skip to main content

DLDevice Struct

DLPack device descriptor: type + numeric ID. More...

Declaration

struct simaai::neat::dlpack::DLDevice { ... }

Included Headers

#include <TensorTypes.h>

Public Member Attributes Index

DLDeviceTypedevice_type

Device family; one of the DLPack DeviceType codes. More...

intdevice_id

Device-local index; meaningful only for accelerators with multiple instances. More...

Description

DLPack device descriptor: type + numeric ID.

Definition at line 36 of file TensorTypes.h.

Public Member Attributes

device_id

int simaai::neat::dlpack::DLDevice::device_id

Device-local index; meaningful only for accelerators with multiple instances.

Definition at line 38 of file TensorTypes.h.

device_type

DLDeviceType simaai::neat::dlpack::DLDevice::device_type

Device family; one of the DLPack DeviceType codes.

Definition at line 37 of file TensorTypes.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.