Default Behavior#
This section describes the default behavior in multi-GPU environments.
The NvVFX_Load() function internally calls cudaGetDevice() to identify
the currently selected GPU.
The function then checks the compute capability of the currently selected GPU (default 0) to determine whether the GPU architecture supports the Video Effects SDK:
If yes,
NvVFX_Load()uses the GPU.If not,
NvVFX_Load()searches for the most powerful GPU that supports the SDK and callscudaSetDevice()to set that GPU as the current GPU.
If you do not require your application to use a specific GPU in a multi-GPU environment, the default behavior should suffice.