Skip to contentSkip to conversation

opencv3: enable pthreads parallel for loops

PATCH New Bradford Barr 2 participants 2 messages Sep 29, 2017 – Oct 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opencv3: enable pthreads parallel for loops

From: bradford barr <[email protected]>

The WITH_PTHREADS_PF option was errantly categorized as a Windows only option. WITH_PTHREADS_PF actually enables a parallelization framework that utilizes pthreads to optimize some inner for loops of different OpenCV operations. This optimization is available on any platform that has pthreads.

---
 package/opencv3/opencv3.mk | 1 -
 1 file changed, 1 deletion(-)
package/opencv3/opencv3.mk +0 -1
index 3a7c3f4..cffe66b 100644
@@ -166,7 +166,6 @@ OPENCV3_CONF_OPTS += \
 	-DWITH_CSTRIPES=OFF \
 	-DWITH_DSHOW=OFF \
 	-DWITH_MSMF=OFF \
-	-DWITH_PTHREADS_PF=OFF \
 	-DWITH_VFW=OFF \
 	-DWITH_VIDEOINPUT=OFF \
 	-DWITH_WIN32UI=OFF
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 opencv3: enable pthreads parallel for loops

Hello,

Quoted 11 lines · Bradford Barr

From: bradford barr <[email protected]>

The WITH_PTHREADS_PF option was errantly categorized as a Windows only option. WITH_PTHREADS_PF actually enables a parallelization framework that utilizes pthreads to optimize some inner for loops of different OpenCV operations. This optimization is available on any platform that has pthreads.

---
 package/opencv3/opencv3.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com