Provided by: nvidia-cuda-dev_9.1.85-3ubuntu1_amd64
NAME
Grid Commands - Functions nvmlReturn_t DECLDIR nvmlDeviceSetVirtualizationMode (nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode)
Detailed Description
This chapter describes NVML operations that are associated with NVIDIA GRID products.
Function Documentation
nvmlReturn_t DECLDIR nvmlDeviceSetVirtualizationMode (nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) This method is used to set the virtualization mode corresponding to the GPU. For Kepler (TM) or newer fully supported devices. Parameters: device Identifier of the target device virtualMode virtualization mode. One of NVML_GPU_VIRTUALIZATION_? Returns: • NVML_SUCCESS if pVirtualMode is set • NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized • NVML_ERROR_INVALID_ARGUMENT if device is invalid or pVirtualMode is NULL • NVML_ERROR_GPU_IS_LOST if the target GPU has fallen off the bus or is otherwise inaccessible • NVML_ERROR_NOT_SUPPORTED if setting of virtualization mode is not supported. • NVML_ERROR_NO_PERMISSION if setting of virtualization mode is not allowed for this client.
Author
Generated automatically by Doxygen for NVML from the source code.