• Jakub Golinowski's avatar
    Merge pull request #11897 from Jakub-Golinowski:hpx_backend · 9f1218b0
    Jakub Golinowski authored
    * Add HPX backend for OpenCV implementation
    Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
    Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
    
    * WIP: Conditionally include hpx_main.hpp to tests in core module
    Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
    The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
    
    * Add coditional iclusion of hpx_main.hpp to cpp cpu modules
    
    * Remove start/stop version of hpx backend
    9f1218b0
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...