Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::DLDevice Struct Reference

DLPack device descriptor (type + ordinal). More...

#include <numpy_bridge.hpp>

Public Attributes

DLDeviceType device_type = DLDeviceType::kDLCPU
 Device type (CPU, CUDA, etc.)
 
int32_t device_id = 0
 Device ordinal (0 for single-device systems)
 

Detailed Description

DLPack device descriptor (type + ordinal).

Definition at line 72 of file numpy_bridge.hpp.

Member Data Documentation

◆ device_id

int32_t signet::forge::DLDevice::device_id = 0

Device ordinal (0 for single-device systems)

Definition at line 74 of file numpy_bridge.hpp.

◆ device_type

DLDeviceType signet::forge::DLDevice::device_type = DLDeviceType::kDLCPU

Device type (CPU, CUDA, etc.)

Definition at line 73 of file numpy_bridge.hpp.


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