NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only

Detailed Description

Device list entry.

See also
NvRmGpuLibListDevices()

Definition at line 291 of file nvrm_gpu.h.

Data Fields

int deviceIndex
 Internal device index. Used in NvRmGpuDeviceOpen() More...
 
NvRmGpuLibDeviceState deviceState
 Device attachment state. More...
 
bool hasDeviceStateControl
 Indicates whether the device can be attached/detached by the user. More...
 
const char * name
 Informative device name. More...
 

Field Documentation

◆ deviceIndex

int NvRmGpuLibDeviceListEntryRec::deviceIndex

Internal device index. Used in NvRmGpuDeviceOpen()

Definition at line 294 of file nvrm_gpu.h.

◆ deviceState

NvRmGpuLibDeviceState NvRmGpuLibDeviceListEntryRec::deviceState

Device attachment state.

See also
NvRmGpuDeviceState

Definition at line 299 of file nvrm_gpu.h.

◆ hasDeviceStateControl

bool NvRmGpuLibDeviceListEntryRec::hasDeviceStateControl

Indicates whether the device can be attached/detached by the user.

See also
NvRmGpuLibAttachDevice(), NvRmGpuLibDetachDevice()

Definition at line 305 of file nvrm_gpu.h.

◆ name

const char* NvRmGpuLibDeviceListEntryRec::name

Informative device name.

This is the 'probe' name of the device. The name is backend-specific. Examples:

  • nouveau:/dev/dri/renderD128
  • nvgpu:/dev/nvhost-gpu
  • nvgpu:/dev/nvgpu-pci/card-0001:15:00.0
Remarks
The path is informational only. If probe-time device identification is required, please file a feature request.

Definition at line 316 of file nvrm_gpu.h.


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