NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvRmGpuDeviceOpenAttrRec Struct Reference

Detailed Description

Definition at line 165 of file nvrm_gpu.h.

Data Fields

NvRmGpuSyncType syncType
 The default sync type for all input/output sync objects. More...
 
bool sandboxFriendlyChannels
 If true, channels are created in sandbox-friendly manner. More...
 

Field Documentation

bool NvRmGpuDeviceOpenAttrRec::sandboxFriendlyChannels

If true, channels are created in sandbox-friendly manner.

Effectively, this means that necessary steps are taken so that opening a channel does not require access to device files. However, this may mean that extra resources are consumed per device. Note that opening a device or an address space may still require filesystem access.

Definition at line 182 of file nvrm_gpu.h.

NvRmGpuSyncType NvRmGpuDeviceOpenAttrRec::syncType

The default sync type for all input/output sync objects.

Note: It is a fatal error (i.e., assert or undefined operation) for the client to set an unsupported sync type. In the long run, default should be okay for anyone, but in the meanwhile, the caller - unfortunately - must do some build-time magic in case the default is not supported everywhere in the stack.

Definition at line 174 of file nvrm_gpu.h.


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