Enable Unsupported Compute Device for Zivid Software

This article demonstrates how to opt in to run the SDK with an unsupported compute device, by enabling an option in the Config.yml file. However, such a setup may give unexpected results and errors, and is not tested by Zivid.

Run SDK on unsupported GPU (AMD)

Warning

Support for using AMD compute devices/GPUs was removed due to low usage and OpenCL stability issues in the drivers.

  1. Download the Config.yml file.

    The config file contains the following information:

    __version__:
        serializer: 1
        data: 19
    Configuration:
        ComputeDevice:
            AllowUnsupported: yes
    
  2. Place the config file in the following directory:

    mkdir %LOCALAPPDATA%\Zivid\API
    move %HOMEPATH%\Downloads\Config.yml %LOCALAPPDATA%\Zivid\API\
    
    mkdir --parents "${XDG_CONFIG_HOME-$HOME/.config}"/Zivid/API
    mv ~/Downloads/Config.yml "${XDG_CONFIG_HOME-$HOME/.config}"/Zivid/API/
    

    Caution

    Any existing Config file will be overwritten.

Caution

Zivid configuration files must use .yml file extension ( not .yaml).

Run SDK on CPU only

Warning

While it is possible to run SDK on CPU only, this is not supported.

It is possible to run the Zivid SDK on an Intel chipset using their CPU Runtime for OpenCL and the following configuration:

__version__:
    serializer: 1
    data: 19
Configuration:
    ComputeDevice:
        Type: CPU
        AllowUnsupported: yes

Warning

Capture time will be greatly increased when using CPU-only instead of GPU and is not a recommended mode for most applications.