Use a GPU for Analysis

This section describes how to use a GPU to accelerate analysis tasks.

To use a GPU to accelerate analysis tasks

  1. Open the Media Server configuration file in a text editor.
  2. In the [Server] section, set the following configuration parameters:

    GPUDeviceID

    (Optional) The device ID of the GPU to use. You can find the device ID for each graphics card by using the Nvidia SMI tool. This parameter sets the default GPU to use, and can be overridden by your session configuration(s).

    For example:

    [Server]
    GPUDeviceID=2
  3. Save and close the configuration file.

Verify that Media Server is Using the GPU

To determine whether Media Server is using a GPU for analysis, use the Nvidia SMI tool which can list the processes using each GPU.