Linux repositories inspector

nvmlGridCommands(3)

Version 1.1
8 Feb 2019
Aliases: nvmlDeviceSetVirtualizationMode(3), nvmlDeviceSetVirtualizationMode(3)

cuda

NVIDIA's GPU programming toolkit

nvidia-cuda-dev

NVIDIA CUDA development files

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:
o NVML_SUCCESS if pVirtualMode is set
o NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized
o NVML_ERROR_INVALID_ARGUMENT if device is invalid or pVirtualMode is NULL
o NVML_ERROR_GPU_IS_LOST if the target GPU has fallen off the bus or is otherwise inaccessible
o NVML_ERROR_NOT_SUPPORTED if setting of virtualization mode is not supported.
o 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.
⇧ Top