AMD OpenVX installation#

Pre-requisites#

  • CPU: AMD64

  • GPU: AMD Radeon Graphics [optional]

    • Windows: install the latest drivers and OpenCL SDK download

    • Linux: install ROCm

Build Instructions#

Build this project to generate AMD OpenVX library

Build using Microsoft Visual Studio#

  • Optionally download and install OpenCV with or without opencv_contrib modules to enable the RunVX tool to support camera capture and image display

    • OpenCV_DIR environment variable should point to OpenCV/build folder

  • Use amd_openvx/amd_openvx.sln to build for x64 platform

  • If AMD GPU (or OpenCL) is not available, set build flag ENABLE_OPENCL=0``in ``openvx/openvx.vcxproj and runvx/runvx.vcxproj

Note

AMD GPU HIP backend is not supported on Windows

Build using CMake#

  • Install CMake 3.10 or later

  • Use CMake to configure and generate Makefile