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 | 2227 | November 26, 2022 | |
Fastest CPU build configuration for simple fucntions? | 3 | 317 | October 1, 2021 | |
Multithreading issue when using parallel_for_ while running on ubuntu | 2 | 782 | March 30, 2022 | |
How compile opencv for C66x DSP core? | 21 | 1643 | May 2, 2023 | |
OpenCV 4.6 cross-compilation with CUDA for Jetson Xavier NX | 8 | 407 | June 25, 2024 |