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 can give unexpected results and errors, and is not tested by Zivid.

Run SDK on unsupported GPU (AMD)

경고

드라이버의 사용률 저하와 OpenCL 안정성 문제로 인해 AMD 컴퓨팅 장치/GPU 사용 지원이 중단되었습니다.

  1. Config.yml 파일을 다운로드하세요.

    설정 파일에는 다음 정보가 포함되어 있습니다.

    __version__:
        serializer: 1
        data: 19
    Configuration:
        ComputeDevice:
            AllowUnsupported: yes
    
  2. 다음 디렉토리에 구성 파일을 넣으세요:

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

    조심

    기존의 모든 설정 파일이 덮어쓰여집니다.

조심

Zivid 설정 파일은 .yml 파일 확장자를 사용해야 합니다( .yaml 아님).

Run SDK on CPU only

경고

CPU에서만 SDK를 실행하는 것은 가능하지만, 이는 지원되지 않습니다.

CPU Runtime for OpenCL 과 다음 구성을 사용하여 Intel 칩셋에서 Zivid SDK를 실행할 수 있습니다.

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

경고

GPU 대신 CPU 전용을 사용하면 캡처 시간이 크게 증가하며 대부분의 애플리케이션에 권장되지 않는 모드입니다.