Open topic with navigation

# 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:

   `CUDAVersion` | Specifies whether to enable GPU support for analysis and which CUDA version to use. Set this parameter to `10`.
   `GPUDeviceID` | (Optional) If the server has more than one GPU, set this parameter to the device ID of the GPU to use. You can find the device ID for each graphics card in the application log when Media Server starts. To find out which GPU device ID corresponds to which GPU, match the PCI Bus ID logged by Media Server to the PCI Bus ID output by the `nvidia-smi` command, which also provides the GPU name.

   For example:

       [Server]
       ...
       CUDAVersion=10

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, start Media Server and open the application log. The log should show the following after Media Server starts:

    GPU devices available for use
    GPU deviceID 0 (Hex PCIBusId: ..)
    GPU deviceID 1 (Hex PCIBusId: ..)
    GPU deviceID 2 (Hex PCIBusId: ..)
    GPU deviceID 3 (Hex PCIBusId: ..)
    GPU mode used for MediaServer
    GPU Memory: ... bytes free ... bytes total
    GPU deviceID currently used: 2 (Hex PCIBusId: ..)

If installation was unsuccessful, Media Server does not start and logs the reason to the application log.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm