-
Notifications
You must be signed in to change notification settings - Fork 73
CTest
Kiriti Gowda edited this page Sep 20, 2023
·
3 revisions
Use the below commands to set up and build MIVisionX
git clone https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX.git
Note: MIVisionX has support for two GPU backends: OPENCL and HIP:
- run the setup script to install all the dependencies required by the HIP GPU backend:
python MIVisionX/MIVisionX-setup.py
- run the below commands to build MIVisionX with the HIP GPU backend:
mkdir build-hip
cd build-hip
cmake ../MIVisionX
make -j8
sudo cmake --build . --target PyPackageInstall
sudo make install
make test
NOTE: run tests with verbose option make test ARGS="-VV"
Use below commands in the MIVisionX build directory
ctest -N
ctest -R TEST_NAME_TO_RUN
NOTE: Run test with verbose option ctest -R TEST_NAME_TO_RUN -VV
ctest
NOTE: Run tests with verbose option ctest -VV
Copyright (c) 2015 - 2023 Advanced Micro Devices, Inc. All rights reserved.