I use cmake-gui to build opencv on NVIDIA Jetsion Xavier NX, and tick WITH OPENMP option.After, I loop simple cv::resize (source image size:1280x1024, destination image size:10000x10000, INTER_LINRAR). However, I find that only one core of CPU is 100%. It seems that cv::parallel_for not use openmp in cv::resize(). The code seems to say that macro HAVE_OPENMP must exist. So how can I use parallel_for with openmp?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
CV::Resize Performance degrading in multithreaded application | 1 | 2111 | November 26, 2022 | |
Fastest CPU build configuration for simple fucntions? | 3 | 306 | October 1, 2021 | |
How compile opencv for C66x DSP core? | 21 | 1590 | May 2, 2023 | |
OpenCV 4.6 cross-compilation with CUDA for Jetson Xavier NX | 8 | 344 | June 25, 2024 | |
Opencv parallel framework | 6 | 988 | November 17, 2022 |