Library management and device discovery.
◆ NvRmGpuLibAttachDevice()
Attaches and powers up a GPU.
- Parameters
-
- Returns
- The usual error code
- Return values
-
NvSuccess | Device attached successfully |
NvError_BadValue | Bad deviceIndex |
NvError_NotSupported | This device does not support attach/detach functionality |
NvError_AccessDenied | Insufficient user privileges |
NvError_ResourceError | Device attachment failed. Likely, the device failed to boot. |
NvError_* | Unspecified error. Error code returned for diagnostics. |
- See also
- NvRmGpuLibDetachDevice()
◆ NvRmGpuLibDetachDevice()
Powers down and detaches a GPU.
- Parameters
-
- Returns
- The usual error code
- Return values
-
NvSuccess | Device detached successfully |
NvError_BadValue | Bad deviceIndex |
NvError_NotSupported | This device does not support attach/detach functionality |
NvError_AccessDenied | Insufficient use privileges |
NvError_ResourceError | Device attachment failed. Likely, the device failed to boot. |
NvError_* | Unspecified error. Error code returned for diagnostics. |
- See also
- NvRmGpuLibAttachDevice()