-
Notifications
You must be signed in to change notification settings - Fork 74
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"
Using below commands in the build directory
ctest -N
test -R TEST_NAME_TO_RUN
NOTE: Run test with verbose option ctest -R TEST_NAME_TO_RUN -VV
Copyright (c) 2015 - 2023 Advanced Micro Devices, Inc. All rights reserved.