-
Notifications
You must be signed in to change notification settings - Fork 74
OpenCL Backend
Kiriti Gowda edited this page Sep 20, 2023
·
4 revisions
-
clone MIVisionX git repository
git clone https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX.git
-
run the setup script to install all the dependencies required by the OPENCL GPU backend:
cd MIVisionX python MIVisionX-setup.py --reinstall ON --backend OCL
-
run the below commands to build MIVisionX with the OPENCL GPU backend:
mkdir build-ocl cd build-ocl cmake -DBACKEND=OPENCL ../ make -j8 sudo make install
Note:
- MIVisionX cannot be installed for both GPU backends in the same default folder (i.e., /opt/rocm/) if an app interested in installing MIVisionX with both GPU backends, then add -DCMAKE_INSTALL_PREFIX in the cmake commands to install MIVisionX with OPENCL and HIP backends into two separate custom folders.
- vx_winml is not supported on Linux
-
PyPackageInstall
used for rocal_pybind installation - supported only with HIP Backend - rocal_pybind not supported on windows
-
sudo
required for pybind installation
Docker Image: sudo docker build -f docker/ubuntu20/{DOCKER_LEVEL_FILE_NAME}.dockerfile -t {mivisionx-level-NUMBER} .
-
new component added to the level
-
existing component from the previous level
NOTE: OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
Copyright (c) 2015 - 2023 Advanced Micro Devices, Inc. All rights reserved.