首页 > 代码库 > 并行化摸索中

并行化摸索中

今天主要还是探索opencv的并行化加速问题,通过cmake发现有配置的选项 即WITH_IPP   WITH_TBB  WITH_OPENMP

测试了勾选WITH_TBB  WITH_OPENMP发现程序并没有加速,通过opencv_core/src/parallel.cpp发现这两个选项可能是互斥的     需要再确认

①尝试配置opencv无果,现在的主要想法是把SIFT的相关代码拿出来进行优化

CV_EXPORTS_W

is defined in modules/core/include/opencv2/core/types_c.h as alias for CV_EXPORTS. it‘s alias for __declspec(dllexport) on Windows platform where CVAPI_EXPORTS is defined, otherwise it‘s empty.

CV_WARP

is used as flag for scripts to create wrappers of the function or method. It is used for creation Python or Java wrappers.

也可参考 此文

 

并行化摸索中