On 12/31/2012 10:44 AM, David Minor wrote:
> The tests pass but I'm not getting multi-threaded execution. I've set 
> POCL_DEVICES to pthread.

pthread device driver should use multiple threads if you have
multiple hardware threads (e.g. SMT and/or multicore) in your CPU,
and your work space has multiple work groups. Multiple work groups
are executed in multiple threads. Single WGs in single thread.

Maybe the HW thread count detection is not working for
you. You can try enabling the debug output in lib/CL/devices/cpuinfo.c
(#define DEBUG_POCL_CPUINFO).

-- 
--Pekka

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to